Public Constants
 ConstantDefined By
  CENTIMETER_TO_INCH : Number = 0.393700787
Constants defining the ratio to transform a centimeter value to an inch value (0.393700787).
graphics.display
  CENTIMETER_TO_PIXEL : Number
Constants defining the ratio to transform a centimeter value to a pixel value (0.393700787).
graphics.display
  INCH_TO_CENTIMETER : Number = 2.54
Constants defining the ratio to transform a inch value to a centimeter value (2.54).
graphics.display
  INCH_TO_PIXEL : Number
Constants defining the ratio to transform a inch value to a pixel value (Capabilities.screenDPI).
graphics.display
  PIXEL_TO_CENTIMETER : Number
Constants defining the ratio to transform a pixel value to a centimeter value (2.54/Capabilities.screenDPI).
graphics.display
  PIXEL_TO_INCH : Number
Constants defining the ratio to transform a pixel value to an inch value (1/Capabilities.screenDPI).
graphics.display
  screenAspectRatio : AspectRatio
Constants defining the screen default aspect ratio based on the Capabilities.screenResolutionX and Capabilities.screenResolutionY properties.
graphics.display
  screenOrientation : String
Constants defining the default screen default orientation based on the screenAspectRatio of the application.
graphics.display
  screenSize : Number
Constants defining the diagonal measure in pixels of the screen.
graphics.display
Constant Detail
CENTIMETER_TO_INCHConstant
public const CENTIMETER_TO_INCH:Number = 0.393700787

Constants defining the ratio to transform a centimeter value to an inch value (0.393700787).

CENTIMETER_TO_PIXELConstant 
public const CENTIMETER_TO_PIXEL:Number

Constants defining the ratio to transform a centimeter value to a pixel value (0.393700787).

INCH_TO_CENTIMETERConstant 
public const INCH_TO_CENTIMETER:Number = 2.54

Constants defining the ratio to transform a inch value to a centimeter value (2.54).

INCH_TO_PIXELConstant 
public const INCH_TO_PIXEL:Number

Constants defining the ratio to transform a inch value to a pixel value (Capabilities.screenDPI).

See also

flash.system.Capabilities.screenDPI
PIXEL_TO_CENTIMETERConstant 
public const PIXEL_TO_CENTIMETER:Number

Constants defining the ratio to transform a pixel value to a centimeter value (2.54/Capabilities.screenDPI).

PIXEL_TO_INCHConstant 
public const PIXEL_TO_INCH:Number

Constants defining the ratio to transform a pixel value to an inch value (1/Capabilities.screenDPI).

screenAspectRatioConstant 
public const screenAspectRatio:AspectRatio

Constants defining the screen default aspect ratio based on the Capabilities.screenResolutionX and Capabilities.screenResolutionY properties.

screenOrientationConstant 
public const screenOrientation:String

Constants defining the default screen default orientation based on the screenAspectRatio of the application.

See also

graphics.display.screenAspectRatio
flash.display.StageAspectRatio
screenSizeConstant 
public const screenSize:Number

Constants defining the diagonal measure in pixels of the screen.

Function detail