UnitMode

public enum UnitMode

Specifies different unit modes.

Entries

Link copied to clipboard

Do not use.

Link copied to clipboard

Do not use.

Link copied to clipboard

Each unit is one device pixel.

Link copied to clipboard

Each unit is a printer's point, or 1/72 inch.

Link copied to clipboard

Each unit is 1 inch.

Link copied to clipboard

Each unit is 1/300 inch.

Link copied to clipboard

Each unit is 1 millimeter.

Functions

Link copied to clipboard
public static UnitMode valueOf(String name)

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
public static Array<UnitMode> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.