LengthUnit

A LengthUnit is used with an ILength object to describe how to interpret its numeric value.

Entries

Link copied to clipboard

The associated value is defined as CSS pixels.

Link copied to clipboard

The associated value is a relative value describing the percentage of something, between 0-100.

Link copied to clipboard

The associated value is defined as device pixels.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard