Namespace: Length

Functions
  • icon1 Length.adoc#converttostring[convertToString]

  • icon1 Length.adoc#equals[equals]

  • icon1 Length.adoc#parse[parse]

  • icon1 Length.adoc#todevicepixels[toDevicePixels]

Functions

convertToString

Const icon1 convertToString(length): string

Parameters

Name Type

length

CoreTypes.adoc#lengthtype[LengthType]

Returns: string

equals

Const icon1 equals(a, b): boolean

Parameters

Name Type

a

CoreTypes.adoc#lengthtype[LengthType]

b

CoreTypes.adoc#lengthtype[LengthType]

Returns: boolean

parse

icon1 parse(fromValue): CoreTypes.adoc#lengthtype[LengthType]

Parameters

Name Type

fromValue

string | number | CoreTypes.adoc#lengthdipunit[LengthDipUnit] | CoreTypes.adoc#lengthpxunit[LengthPxUnit]

Returns: CoreTypes.adoc#lengthtype[LengthType]

toDevicePixels

Const icon1 toDevicePixels(length, auto?): number

Parameters

Name Type

length

CoreTypes.adoc#lengthtype[LengthType]

Optional auto?

number

Returns: number