# createBorder

Create a border for a frame uicontrol.

## Calling Sequence

                border = createBorder(borderType, varargin)

## Arguments

borderType

  String

  The type of the border to be created. Available types of borders are listed below and their specific properties are detailled on dedicated help page:

  - "none": No border will be added to the frame (default). No property is available for this type.

  - "line": A simple line border.

  - "bevel": A beveled border using shades.

  - "softbevel": A soft beveled border using shades with softened corners.

  - "etched": A etched style border.

  - "titled": A border with a title.

  - "empty": An empty border that is not drawn but takes space.

  - "compound": A compound border mixing other types of borders.

  - "matte": A matte-look border.

varargin

  All `borderType` specific properties.

border

  The created border.

## Description

This function creates a border for `frame` uicontrols. See uicontrol properties for more details.

## See Also

- createBorderFont
- uicontrol
- uicontrol_properties

## History

5.5.0
Function `createBorder` introduced.