public class FU extends UNIT
限定符和类型 | 字段和说明 |
---|---|
static long |
DEFAULT_HEIGHT |
static FU |
DEFAULT_HEIGHT_FU |
static long |
DEFAULT_WIDTH |
static FU |
DEFAULT_WIDTH_FU |
PT_PER_INCH, ZERO
限定符 | 构造器和说明 |
---|---|
protected |
FU(long fu) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object obj) |
static FU |
getInstance(long fu)
返回指定长度的FR内部精确计算单位
|
long |
getLen() |
protected long |
getMoreFUScale() |
protected java.math.BigDecimal |
getScaleNumber() |
static FU |
valueOfPix(int pix,
int dpi)
把屏幕上的像素转化为内部单位
|
add, clone, equal_zero, hashCode, less_than_or_equal_zero, less_than_zero, max, min, more_than_or_equal_zero, more_than_zero, not_equal_zero, subtract, toCMValue4Scale2, toFU, toINCHValue4Scale3, toMMValue4Scale2, toPixD, toPixF, toPixI, toPixI, toPTValue4Scale2, toString
public static final long DEFAULT_WIDTH
public static final long DEFAULT_HEIGHT
public static final FU DEFAULT_WIDTH_FU
public static final FU DEFAULT_HEIGHT_FU
public long getLen()
public static FU getInstance(long fu)
fu
- 指定的长度public static FU valueOfPix(int pix, int dpi)
pix
- dpi
- protected long getMoreFUScale()
getMoreFUScale
在类中 UNIT
protected java.math.BigDecimal getScaleNumber()
getScaleNumber
在类中 UNIT