public static class Configuration.ResolutionUnit extends Enum
An enum containing resolution units.
Modifier and Type | Field and Description |
---|---|
static Configuration.ResolutionUnit |
DPCM
Dots per inch.
|
static Configuration.ResolutionUnit |
DPI
Dots per Inch.
|
static Configuration.ResolutionUnit |
DPPX
Dots per 'px' unit.
|
static Configuration.ResolutionUnit |
TDPCM
Thousand dots per centimeter.
|
static Configuration.ResolutionUnit |
TDPI
Thousand dots per inch.
|
static Configuration.ResolutionUnit |
TDPPX
Thousand dots per 'px' unit.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
getConversionFactor() |
static Configuration.ResolutionUnit |
valueOf(String name) |
static Configuration.ResolutionUnit[] |
values() |
public static final Configuration.ResolutionUnit DPI
Dots per Inch. The default 1dppx/96dpi in this unit is 96.
public static final Configuration.ResolutionUnit TDPI
Thousand dots per inch. The default 1dppx/96dpi in this unit is 96000.
public static final Configuration.ResolutionUnit DPPX
Dots per 'px' unit. The default 1dppx/96dpi in this unit is 1.
public static final Configuration.ResolutionUnit TDPPX
Thousand dots per 'px' unit. The default 1dppx/96dpi in this unit is 1000.
public static final Configuration.ResolutionUnit DPCM
Dots per inch. The default 1dppx/96dpi in this unit is about 38.
public static final Configuration.ResolutionUnit TDPCM
Thousand dots per centimeter. The default 1dppx/96dpi in this unit is about 37795.
public static Configuration.ResolutionUnit[] values()
public static Configuration.ResolutionUnit valueOf(String name)
public abstract double getConversionFactor()
This doc was generated on 2024-06-12. Copyright © 2002-2024 RealObjects GmbH. All Rights Reserved.