Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - English


createBorderFont

Create a font for an uicontrol border.

Syntax

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

VersionDescription
5.5.0 Function createBorderFont introduced.
Report an issue
<< createBorder Borders Empty border properties >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:13:10 CEST 2024