| Constructor and Description | 
|---|
| AbsoluteSizeRule(float width)Constructor | 
| 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 | 
public AbsoluteSizeRule(float width)
width - The width in pixelspublic float getSize(LayoutState layoutState)
SizeRuleUiElementgetSize in interface SizeRulelayoutState - The current LayoutStateUiElement preferred sizepublic boolean isAutoSize()
SizeRuleisAutoSize in interface SizeRule