public final class PixelDensity
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static PixelDensity |
createFromPixelsPerCentimetre(double x,
double y) |
static PixelDensity |
createFromPixelsPerInch(double x,
double y) |
static PixelDensity |
createFromPixelsPerMetre(double x,
double y) |
static PixelDensity |
createUnitless(double x,
double y) |
double |
getRawHorizontalDensity() |
double |
getRawVerticalDensity() |
double |
horizontalDensityCentimetres() |
double |
horizontalDensityInches() |
double |
horizontalDensityMetres() |
boolean |
isInCentimetres() |
boolean |
isInInches() |
boolean |
isInMetres() |
boolean |
isUnitless() |
double |
verticalDensityCentimetres() |
double |
verticalDensityInches() |
double |
verticalDensityMetres() |
public static PixelDensity createUnitless(double x, double y)
public static PixelDensity createFromPixelsPerInch(double x, double y)
public static PixelDensity createFromPixelsPerMetre(double x, double y)
public static PixelDensity createFromPixelsPerCentimetre(double x, double y)
public boolean isUnitless()
public boolean isInInches()
public boolean isInCentimetres()
public boolean isInMetres()
public double getRawHorizontalDensity()
public double getRawVerticalDensity()
public double horizontalDensityInches()
public double verticalDensityInches()
public double horizontalDensityMetres()
public double verticalDensityMetres()
public double horizontalDensityCentimetres()
public double verticalDensityCentimetres()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"