Create a font for an uicontrol border.
createBorderFont(fontname, fontsize) createBorderFont(fontname, fontsize, fontweight) createBorderFont(fontname, fontsize, fontweight, fontangle)
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.
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.
{"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.
{"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.
This function creates a "Border Font" to customize borders in frame
uicontrols. See createBorder and related pages for more details.
Version | Description |
5.5.0 | Function createBorderFont introduced. |