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 any
-
font Size
-
Gets or sets the font size
Returns string | number
-
Gets or sets the font size
Parameters
-
value: string | number
Returns any
-
font Style
-
Gets or sets the font style
Returns string
-
Gets or sets the font style
Parameters
-
value: string
Returns any
-
font Weight
-
Gets or sets font weight
Returns string
-
Gets or sets font weight
Parameters
-
value: string
Returns any
-
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