LGUI2:LS1:lgui2fontstyle

From Lavish Software Wiki
Jump to: navigation, search
Object Type Vitals
lgui2fontstyle
Defined By LavishGUI 2
Inherits none
Reduces To lgui2fontstyle
Variable Object Type none
Uses Sub-Types no
C/C++ Type void *

A lgui2fontstyle object provides access to a LavishGUI 2 Font

Members

  • string Face: Face of the font, such as "Arial"
  • uint Height: Font height, in points
  • bool Bold: TRUE if the font is bold
  • bool Fixed: TRUE if the font requests fixed width glyphs
  • elgui2fontflags Flags: Flags indicating which of the font style properties are explicitly provided, rather than inherited

Methods

  • SetFace[newFace]: Sets a new Face for this font
  • SetHeight[#]: Sets a new Height for this font, in points
  • SetBold[TRUE/FALSE]: Sets the Bold state for this font
  • SetFixed[TRUE/FALSE]: Sets the fixed width request state for this font
  • UnsetFace: Un-sets the Face property from this font, causing this property to be inherited
  • UnsetHeight: Un-sets the Height property from this font, causing this property to be inherited
  • UnsetBold: Un-sets the Bold property from this font, causing this property to be inherited
  • UnsetFixed: Un-sets the Fixed property from this font, causing this property to be inherited

Examples

LavishGUI 2 Element Types

LavishGUI 2 LavishScript Object Types

Core API (see Using LavishGUI 2 from LavishScript)
lgui2 - lgui2eventargs - lgui2eventhandler - lgui2elementtype - lgui2itemviewgeneratorargs - lgui2inputbinding - lgui2layer - lgui2skin
Enums
elgui2dpad - elgui2edge - elgui2fontflags - elgui2horizontalalignment - elgui2imageorientation - elgui2progresstext - elgui2scrollbar - elgui2verticalignment
Element Components
lgui2brush - lgui2fontstyle - lgui2margins - lgui2item
Element Base Types
lgui2element - lgui2bordered - lgui2contentbase - lgui2headeredcontentbase - lgui2itemlist
Elements