| Package | org.alivepdf.layout |
| Class | public final class Size |
| Inheritance | Size Object |
| Property | Defined By | ||
|---|---|---|---|
| A3 : Size [static]
Constants representing the various paper sizes. | Size | ||
| A4 : Size [static] | Size | ||
| A5 : Size [static] | Size | ||
| dimensions : Array
The dimensions used by the PDF engine to determine page extents. | Size | ||
| fullLabel : String [read-only] | Size | ||
| inchesSize : Array
The dimensions, in inches. | Size | ||
| label : String
A friendly label for users. | Size | ||
| LEGAL : Size [static] | Size | ||
| LETTER : Size [static] | Size | ||
| mmSize : Array
The dimensions, in mm. | Size | ||
| sizes : Array [static]
An array containing all the available paper sizes. | Size | ||
| TABLOID : Size [static] | Size | ||
| Method | Defined By | ||
|---|---|---|---|
Size(pixelsSize:Array, pLabel:String, pInchesSize:Array, pMmSize:Array) | Size | ||
| Size | |||
[static]
Given a String representing the label of a size, or a Size object, this
returns the Size object that corresponds to it. | Size | ||
toString():String | Size | ||
| A3 | property |
public static var A3:SizeConstants representing the various paper sizes.
| A4 | property |
public static var A4:Size| A5 | property |
public static var A5:Size| dimensions | property |
public var dimensions:ArrayThe dimensions used by the PDF engine to determine page extents.
| fullLabel | property |
fullLabel:String [read-only] public function get fullLabel():String| inchesSize | property |
public var inchesSize:ArrayThe dimensions, in inches. This should be used for a friendly display for users and not in dimension calculations.
| label | property |
public var label:StringA friendly label for users.
| LEGAL | property |
public static var LEGAL:Size| LETTER | property |
public static var LETTER:Size| mmSize | property |
public var mmSize:ArrayThe dimensions, in mm. This should be used for a friendly display for users and not in dimension calculations.
| sizes | property |
public static var sizes:ArrayAn array containing all the available paper sizes.
| TABLOID | property |
public static var TABLOID:Size| Size | () | Constructor |
public function Size(pixelsSize:Array, pLabel:String, pInchesSize:Array, pMmSize:Array)pixelsSize:Array | |
pLabel:String | |
pInchesSize:Array | |
pMmSize:Array |
| clone | () | method |
| getSize | () | method |
public static function getSize(value:Object):SizeGiven a String representing the label of a size, or a Size object, this returns the Size object that corresponds to it. Returns null on invalid size.
Parameters
value:Object |
Size |
| toString | () | method |
public function toString():StringReturnsString |