public final class UnitOfMeasurement extends Object
Represents units of measurement.
| Modifier and Type | Field and Description |
|---|---|
static int |
Pixel
Specifies that the unit of measurement is pixel.
|
static int |
Point
Specifies that the unit of measurement is point.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
toString(int value)
Returns a string representation of the
value. |
public static final int Pixel
Specifies that the unit of measurement is pixel.
public static final int Point
Specifies that the unit of measurement is point.
public static final String toString(int value)
Returns a string representation of the value.
UnitOfMeasurement
value - The value to convert.UnitOfMeasurement value.Copyright © 2026. All rights reserved.