Manages and sets all the styles of LayoutSystem
Name | Type | Attributes | Description |
---|---|---|---|
layout |
LayoutSystem |
LayoutSystem to be styled |
|
styles |
Styles |
<optional> |
styles to be applied |
Members
Returns true if there are conditional styles
Sets the opacity of the layout
Returns the opacity of the layout
Returns all pixi text related styles of the Layout
Set visibility of the layout
Returns visibility of the layout
Holds all text related styles. This is to be nested by children
Conditional styles
Stores default styles.
Methods
Checks and applies conditional styles basing on parent size
Returns a style value by name.
Name | Type | Description |
---|---|---|
style |
keyof |
name of the style |
Returns:
Type | Description |
---|---|
Styles[keyof] |
Returns all styles of the Layout
Returns:
Type | Description |
---|---|
Styles |
Applies a list of styles for the layout.
Name | Type | Attributes | Description |
---|---|---|---|
styles |
Styles |
<optional> |
styles to be applied |
Separates conditional styles from default styles
Name | Type | Attributes | Description |
---|---|---|---|
styles |
Styles & ConditionalStyles |
<optional> |
mixed styles |