public interface SizeRule
UiElement width rules| Modifier 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)
UiElementlayoutState - The current LayoutStateUiElement preferred sizeboolean isAutoSize()