public final class LengthUnit extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static LengthUnit |
CM |
static LengthUnit |
INCH |
static LengthUnit |
MM |
static LengthUnit |
PERCENTAGE |
static LengthUnit |
PICA |
static LengthUnit |
POINTS |
Modifier and Type | Method and Description |
---|---|
double |
convertFromPoints(double points) |
double |
convertToPoints(double unit) |
double |
getDotsPerUnit() |
String |
getName() |
static LengthUnit[] |
values() |
public static final LengthUnit POINTS
public static final LengthUnit PERCENTAGE
public static final LengthUnit PICA
public static final LengthUnit MM
public static final LengthUnit CM
public static final LengthUnit INCH
public String getName()
public double getDotsPerUnit()
public double convertFromPoints(double points)
public double convertToPoints(double unit)
public static LengthUnit[] values()
Copyright © 2017 Hitachi Vantara. All rights reserved.