Titled border properties Description of the titled borders properties.

## Syntax

                titledBorder = createBorder("titled", title)
                titledBorder = createBorder("titled", border)
                titledBorder = createBorder("titled", border, title)
                titledBorder = createBorder("titled", border, title, justification, position)
                titledBorder = createBorder("titled", border, title, justification, position, font)
                titledBorder = createBorder("titled", border, title, justification, position, font, color)

## Arguments

title

  String

  The title of the border.

  If the `border` argument is not given, then a default border (based on current look and feel) will be created.

border

  Border object

  A border created by createBorder.

justification

  "left" | "center" | "right" | {"leading"} | "trailing"

  The justification of the title.

position

  "above_top" | {"top"} | "below_top" | "above_bottom" | "bottom" | "below_bottom"

  The vertical position of the title related to the border.

font

  Font object

  A border font created by createBorderFont.

color

  String

  The color name of the title or a string like `#FFFFFF`.

titledBorder

  The created border.

## Description

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

## See also

- createBorder
- createBorderFont
- uicontrol
- uicontrol_properties

## History

5.5.0 Function `createBorder` introduced.