public interface SizeRule
UiElement
width rulesModifier and Type | Method and Description |
---|---|
float |
getSize(LayoutState layoutState)
Determines the preferred size of a
UiElement |
boolean |
isAutoSize()
Returns if the size rule is an 'auto' rule
|
float getSize(LayoutState layoutState)
UiElement
layoutState
- The current LayoutState
UiElement
preferred sizeboolean isAutoSize()