# createBorderFont

Create a font for an uicontrol border.

## Calling Sequence

            createBorderFont(fontname, fontsize)
            createBorderFont(fontname, fontsize, fontweight)
            createBorderFont(fontname, fontsize, fontweight, fontangle)

## Arguments

fontname

  String

  This argument sets the name of the font. This name must be valid according to available fonts.

  When `fontname` is equal to `""`, the font used will be the Look and Feel default one.

fontsize

  Real scalar

  This argument sets the size of the font in points.

  When `fontsize` is equal to `0`, the font size used will be the Look and Feel default one.

fontweight

  {"normal"} | "bold"

  This argument sets the weight of the font.

  When `fontweight` is not given, the font weight used will be the Look and Feel default one.

fontangle

  {"normal"} | "italic"

  This argument sets the slant of the font.

  When `fontangle` is not given, the font angle used will be the Look and Feel default one.

## Description

This function creates a "Border Font" to customize borders in `frame` uicontrols. See createBorder and related pages for more details.

## History

5.5.0
Function `createBorderFont` introduced.