Font (gb.web.gui)

This class represents a font as described by the CSS standard.

It is used by the WebControl class, and for drawing inside a WebDrawingArea with the Paint class.

This class is creatable.

This class acts like a read-only static array.

Properties
Bold   Return or set if the font is bold.
Decoration   Return or set the font decoration, i.e. the CSS font-decoration property.
Family   Return or set the font family, i.e. the CSS font-family property.
Italic   Return or set if the font is italic.
LineHeight   Return or set the line height, i.e. the CSS line-height property.
Name   Return or set the font family, i.e. the CSS font-family property.
Normal   Return or set if the font is "normal", i.e. if it does not inherit the font of a parent control.
Size   Return or set the font size, i.e. the CSS font-size property.
Stretch   Return or set the font stretch, i.e. the CSS font-stretch property.
Strikeout   Return or set if the font is striked out.
Style   Return or set the font style, i.e. the CSS font-style property.
Underline   Return or set if the font is underlined.
Weight   Return or set the font weight, i.e. the CSS font-weight property.

Methods
Copy   Return a copy of the font.
ToString   Return the string description of a font.

Events
Change   This event is raised when a font property has changed.