- getHeight
- <init>
- getWidth
- getHeightInt
Get just the height as number without trailing unit.
- getWidthInt
Get just the width as number without trailing unit.
- getWidthUnit
- extractNumericValue
Extract number from string.
- extractUnit
Tries to extract unit from passed string. I.e. returtn "px" if you pass "120px".
- getHeightUnit
- setHeight
Sets the preferred height via an string. Expects an dimension/unit compount i.e.
"120px" or "80%" bu
- setSize
Set the size of this Dimension object to the specified width and height.
- setWidth
Sets the preferred width via an string. Expects an dimension/unit compount i.e.
"120px" or "80%" but