Class Style
Hierarchy
- Style
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Creates a new style object
Parameters
host: AdvancedDynamicTexture
defines the AdvancedDynamicTexture which hosts this style
Returns Style
Properties
on Changed ObservableSearch playground for onChangedObservable
BABYLON.Observable raised when the style values are changed
Accessors
font Family
Gets or sets the font family
Returns string
Gets or sets the font family
Parameters
value: string
Returns void
font Size
Gets or sets the font size
Returns string | number
Gets or sets the font size
Parameters
value: string | number
Returns void
font Style
Gets or sets the font style
Returns string
Gets or sets the font style
Parameters
value: string
Returns void
font Weight
Gets or sets font weight
Returns string
Gets or sets font weight
Parameters
value: string
Returns void
Methods
disposeSearch playground for dispose
Dispose all associated resources
Returns void
Define a style used by control to automatically setup properties based on a template. Only support font related properties so far