Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Namespaces
Length
Summary
Functions
convertToString
convertToString(length: LengthType): string
Parameter | Default | Description |
length |
|
Returns string
equals
equals(a: LengthType, b: LengthType): boolean
Parameter | Default | Description |
a |
| |
b |
|
Returns boolean
parse
parse(text: string): LengthType
Parameter | Default | Description |
text |
| string |
Returns LengthType
toDevicePixels
toDevicePixels(length: LengthType, auto?: number): number
Converts Length unit to device pixels.
Parameter | Default | Description |
length |
| The Length to convert. |
auto |
| number Value to use for conversion of "auto". By default is Math.NaN. |
Returns number
- Previous
- IOSHelper
- Next
- PercentLength