| Constructor and Description | 
|---|
| AbsoluteSizeRule(float width)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| float | getWidth(LayoutState layoutState)Determines the preferred width of a  UiElement | 
public AbsoluteSizeRule(float width)
width - The width in pixelspublic float getWidth(LayoutState layoutState)
SizeRuleUiElementgetWidth in interface SizeRulelayoutState - The current LayoutStateUiElement preferred width