Packageorg.purepdf.codecs.wmf
Classpublic class MetaState
InheritanceMetaState Inheritance Object



Public Properties
 PropertyDefined By
  backgroundMode : int = 2
MetaState
  currentBackgroundColor : RGBColor
MetaState
  currentBrush : MetaBrush
MetaState
  currentFont : MetaFont
MetaState
  currentPen : MetaPen
MetaState
  currentPoint : Point
MetaState
  currentTextColor : RGBColor
MetaState
  extentWx : int
MetaState
  extentWy : int
MetaState
  lineJoin : int = 1
MetaState
  metaObjects : Vector.<MetaObject>
MetaState
  offsetWx : int
MetaState
  offsetWy : int
MetaState
  polyFillMode : int = 1
MetaState
  savedStates : Array
MetaState
  scalingX : Number
MetaState
  scalingY : Number
MetaState
  textAlign : int
MetaState
Public Methods
 MethodDefined By
  
MetaState(state:MetaState = null)
MetaState
  
MetaState
  
MetaState
  
deleteMetaObject(index:int):void
MetaState
  
Getter for property backgroundMode.
MetaState
  
Getter for property currentBackgroundColor.
MetaState
  
MetaState
  
MetaState
  
MetaState
  
MetaState
  
Getter for property currentTextColor.
MetaState
  
getLineNeutral():Boolean
MetaState
  
Getter for property polyFillMode.
MetaState
  
Getter for property textAlign.
MetaState
  
restoreState(index:int, cb:PdfContentByte):void
MetaState
  
MetaState
  
selectMetaObject(index:int, cb:PdfContentByte):void
MetaState
  
setBackgroundMode(backgroundMode:int):void
Setter for property backgroundMode.
MetaState
  
setCurrentBackgroundColor(currentBackgroundColor:RGBColor):void
Setter for property currentBackgroundColor.
MetaState
  
setCurrentPoint(p:Point):void
MetaState
  
setCurrentTextColor(currentTextColor:RGBColor):void
Setter for property currentTextColor.
MetaState
  
setExtentWx(extentWx:int):void
MetaState
  
setExtentWy(extentWy:int):void
MetaState
  
MetaState
  
MetaState
  
MetaState
  
setOffsetWx(offsetWx:int):void
MetaState
  
setOffsetWy(offsetWy:int):void
MetaState
  
setPolyFillMode(polyFillMode:int):void
Setter for property polyFillMode.
MetaState
  
setScalingX(scalingX:Number):void
MetaState
  
setScalingY(scalingY:Number):void
MetaState
  
setTextAlign(textAlign:int):void
Setter for property textAlign.
MetaState
  
transformAngle(angle:Number):Number
MetaState
  
transformX(x:int):Number
MetaState
  
transformY(y:int):Number
MetaState
Public Constants
 ConstantDefined By
  ALTERNATE : int = 1
[static]
MetaState
  OPAQUE : int = 2
[static]
MetaState
  TA_BASELINE : int = 24
[static]
MetaState
  TA_BOTTOM : int = 8
[static]
MetaState
  TA_CENTER : int = 6
[static]
MetaState
  TA_LEFT : int = 0
[static]
MetaState
  TA_NOUPDATECP : int = 0
[static]
MetaState
  TA_RIGHT : int = 2
[static]
MetaState
  TA_TOP : int = 0
[static]
MetaState
  TA_UPDATECP : int = 1
[static]
MetaState
  TRANSPARENT : int = 1
[static]
MetaState
  WINDING : int = 2
[static]
MetaState
Property Detail
backgroundModeproperty
public var backgroundMode:int = 2

currentBackgroundColorproperty 
public var currentBackgroundColor:RGBColor

currentBrushproperty 
public var currentBrush:MetaBrush

currentFontproperty 
public var currentFont:MetaFont

currentPenproperty 
public var currentPen:MetaPen

currentPointproperty 
public var currentPoint:Point

currentTextColorproperty 
public var currentTextColor:RGBColor

extentWxproperty 
public var extentWx:int

extentWyproperty 
public var extentWy:int

lineJoinproperty 
public var lineJoin:int = 1

metaObjectsproperty 
public var metaObjects:Vector.<MetaObject>

offsetWxproperty 
public var offsetWx:int

offsetWyproperty 
public var offsetWy:int

polyFillModeproperty 
public var polyFillMode:int = 1

savedStatesproperty 
public var savedStates:Array

scalingXproperty 
public var scalingX:Number

scalingYproperty 
public var scalingY:Number

textAlignproperty 
public var textAlign:int

Constructor Detail
MetaState()Constructor
public function MetaState(state:MetaState = null)



Parameters
state:MetaState (default = null)
Method Detail
addMetaObject()method
public function addMetaObject(object:MetaObject):void

Parameters

object:MetaObject

cleanup()method 
public function cleanup(cb:PdfContentByte):void

Parameters

cb:PdfContentByte

deleteMetaObject()method 
public function deleteMetaObject(index:int):void

Parameters

index:int

getBackgroundMode()method 
public function getBackgroundMode():int

Getter for property backgroundMode.

Returns
int — Value of property backgroundMode.
getCurrentBackgroundColor()method 
public function getCurrentBackgroundColor():RGBColor

Getter for property currentBackgroundColor.

Returns
RGBColor — Value of property currentBackgroundColor.
getCurrentBrush()method 
public function getCurrentBrush():MetaBrush

Returns
MetaBrush
getCurrentFont()method 
public function getCurrentFont():MetaFont

Returns
MetaFont
getCurrentPen()method 
public function getCurrentPen():MetaPen

Returns
MetaPen
getCurrentPoint()method 
public function getCurrentPoint():Point

Returns
Point
getCurrentTextColor()method 
public function getCurrentTextColor():RGBColor

Getter for property currentTextColor.

Returns
RGBColor — Value of property currentTextColor.
getLineNeutral()method 
public function getLineNeutral():Boolean

Returns
Boolean
getPolyFillMode()method 
public function getPolyFillMode():int

Getter for property polyFillMode.

Returns
int — Value of property polyFillMode.
getTextAlign()method 
public function getTextAlign():int

Getter for property textAlign.

Returns
int — Value of property textAlign.
restoreState()method 
public function restoreState(index:int, cb:PdfContentByte):void

Parameters

index:int
 
cb:PdfContentByte

saveState()method 
public function saveState(cb:PdfContentByte):void

Parameters

cb:PdfContentByte

selectMetaObject()method 
public function selectMetaObject(index:int, cb:PdfContentByte):void

Parameters

index:int
 
cb:PdfContentByte

setBackgroundMode()method 
public function setBackgroundMode(backgroundMode:int):void

Setter for property backgroundMode.

Parameters

backgroundMode:int — New value of property backgroundMode.

setCurrentBackgroundColor()method 
public function setCurrentBackgroundColor(currentBackgroundColor:RGBColor):void

Setter for property currentBackgroundColor.

Parameters

currentBackgroundColor:RGBColor — New value of property currentBackgroundColor.

setCurrentPoint()method 
public function setCurrentPoint(p:Point):void

Parameters

p:Point

setCurrentTextColor()method 
public function setCurrentTextColor(currentTextColor:RGBColor):void

Setter for property currentTextColor.

Parameters

currentTextColor:RGBColor — New value of property currentTextColor.

setExtentWx()method 
public function setExtentWx(extentWx:int):void

Parameters

extentWx:int

setExtentWy()method 
public function setExtentWy(extentWy:int):void

Parameters

extentWy:int

setLineJoinPolygon()method 
public function setLineJoinPolygon(cb:PdfContentByte):void

Parameters

cb:PdfContentByte

setLineJoinRectangle()method 
public function setLineJoinRectangle(cb:PdfContentByte):void

Parameters

cb:PdfContentByte

setMetaState()method 
public function setMetaState(state:MetaState):void

Parameters

state:MetaState

setOffsetWx()method 
public function setOffsetWx(offsetWx:int):void

Parameters

offsetWx:int

setOffsetWy()method 
public function setOffsetWy(offsetWy:int):void

Parameters

offsetWy:int

setPolyFillMode()method 
public function setPolyFillMode(polyFillMode:int):void

Setter for property polyFillMode.

Parameters

polyFillMode:int — New value of property polyFillMode.

setScalingX()method 
public function setScalingX(scalingX:Number):void

Parameters

scalingX:Number

setScalingY()method 
public function setScalingY(scalingY:Number):void

Parameters

scalingY:Number

setTextAlign()method 
public function setTextAlign(textAlign:int):void

Setter for property textAlign.

Parameters

textAlign:int — New value of property textAlign.

transformAngle()method 
public function transformAngle(angle:Number):Number

Parameters

angle:Number

Returns
Number
transformX()method 
public function transformX(x:int):Number

Parameters

x:int

Returns
Number
transformY()method 
public function transformY(y:int):Number

Parameters

y:int

Returns
Number
Constant Detail
ALTERNATEConstant
public static const ALTERNATE:int = 1

OPAQUEConstant 
public static const OPAQUE:int = 2

TA_BASELINEConstant 
public static const TA_BASELINE:int = 24

TA_BOTTOMConstant 
public static const TA_BOTTOM:int = 8

TA_CENTERConstant 
public static const TA_CENTER:int = 6

TA_LEFTConstant 
public static const TA_LEFT:int = 0

TA_NOUPDATECPConstant 
public static const TA_NOUPDATECP:int = 0

TA_RIGHTConstant 
public static const TA_RIGHT:int = 2

TA_TOPConstant 
public static const TA_TOP:int = 0

TA_UPDATECPConstant 
public static const TA_UPDATECP:int = 1

TRANSPARENTConstant 
public static const TRANSPARENT:int = 1

WINDINGConstant 
public static const WINDING:int = 2