com.lowagie.text.pdf.codec.wmf

Class MetaState

public class MetaState extends Object

Field Summary
static intALTERNATE
intbackgroundMode
ColorcurrentBackgroundColor
MetaBrushcurrentBrush
MetaFontcurrentFont
MetaPencurrentPen
PointcurrentPoint
ColorcurrentTextColor
intextentWx
intextentWy
intlineJoin
ArrayListMetaObjects
intoffsetWx
intoffsetWy
static intOPAQUE
intpolyFillMode
StacksavedStates
floatscalingX
floatscalingY
inttextAlign
static intTA_BASELINE
static intTA_BOTTOM
static intTA_CENTER
static intTA_LEFT
static intTA_NOUPDATECP
static intTA_RIGHT
static intTA_TOP
static intTA_UPDATECP
static intTRANSPARENT
static intWINDING
Constructor Summary
MetaState()
Creates new MetaState
MetaState(MetaState state)
Method Summary
voidaddMetaObject(MetaObject object)
voidcleanup(PdfContentByte cb)
voiddeleteMetaObject(int index)
intgetBackgroundMode()
Getter for property backgroundMode.
ColorgetCurrentBackgroundColor()
Getter for property currentBackgroundColor.
MetaBrushgetCurrentBrush()
MetaFontgetCurrentFont()
MetaPengetCurrentPen()
PointgetCurrentPoint()
ColorgetCurrentTextColor()
Getter for property currentTextColor.
booleangetLineNeutral()
intgetPolyFillMode()
Getter for property polyFillMode.
intgetTextAlign()
Getter for property textAlign.
voidrestoreState(int index, PdfContentByte cb)
voidsaveState(PdfContentByte cb)
voidselectMetaObject(int index, PdfContentByte cb)
voidsetBackgroundMode(int backgroundMode)
Setter for property backgroundMode.
voidsetCurrentBackgroundColor(Color currentBackgroundColor)
Setter for property currentBackgroundColor.
voidsetCurrentPoint(Point p)
voidsetCurrentTextColor(Color currentTextColor)
Setter for property currentTextColor.
voidsetExtentWx(int extentWx)
voidsetExtentWy(int extentWy)
voidsetLineJoinPolygon(PdfContentByte cb)
voidsetLineJoinRectangle(PdfContentByte cb)
voidsetMetaState(MetaState state)
voidsetOffsetWx(int offsetWx)
voidsetOffsetWy(int offsetWy)
voidsetPolyFillMode(int polyFillMode)
Setter for property polyFillMode.
voidsetScalingX(float scalingX)
voidsetScalingY(float scalingY)
voidsetTextAlign(int textAlign)
Setter for property textAlign.
floattransformAngle(float angle)
floattransformX(int x)
floattransformY(int y)

Field Detail

ALTERNATE

public static final int ALTERNATE

backgroundMode

public int backgroundMode

currentBackgroundColor

public Color currentBackgroundColor

currentBrush

public MetaBrush currentBrush

currentFont

public MetaFont currentFont

currentPen

public MetaPen currentPen

currentPoint

public Point currentPoint

currentTextColor

public Color currentTextColor

extentWx

public int extentWx

extentWy

public int extentWy

lineJoin

public int lineJoin

MetaObjects

public ArrayList MetaObjects

offsetWx

public int offsetWx

offsetWy

public int offsetWy

OPAQUE

public static final int OPAQUE

polyFillMode

public int polyFillMode

savedStates

public Stack savedStates

scalingX

public float scalingX

scalingY

public float scalingY

textAlign

public int textAlign

TA_BASELINE

public static final int TA_BASELINE

TA_BOTTOM

public static final int TA_BOTTOM

TA_CENTER

public static final int TA_CENTER

TA_LEFT

public static final int TA_LEFT

TA_NOUPDATECP

public static final int TA_NOUPDATECP

TA_RIGHT

public static final int TA_RIGHT

TA_TOP

public static final int TA_TOP

TA_UPDATECP

public static final int TA_UPDATECP

TRANSPARENT

public static final int TRANSPARENT

WINDING

public static final int WINDING

Constructor Detail

MetaState

public MetaState()
Creates new MetaState

MetaState

public MetaState(MetaState state)

Method Detail

addMetaObject

public void addMetaObject(MetaObject object)

cleanup

public void cleanup(PdfContentByte cb)

deleteMetaObject

public void deleteMetaObject(int index)

getBackgroundMode

public int getBackgroundMode()
Getter for property backgroundMode.

Returns: Value of property backgroundMode.

getCurrentBackgroundColor

public Color getCurrentBackgroundColor()
Getter for property currentBackgroundColor.

Returns: Value of property currentBackgroundColor.

getCurrentBrush

public MetaBrush getCurrentBrush()

getCurrentFont

public MetaFont getCurrentFont()

getCurrentPen

public MetaPen getCurrentPen()

getCurrentPoint

public Point getCurrentPoint()

getCurrentTextColor

public Color getCurrentTextColor()
Getter for property currentTextColor.

Returns: Value of property currentTextColor.

getLineNeutral

public boolean getLineNeutral()

getPolyFillMode

public int getPolyFillMode()
Getter for property polyFillMode.

Returns: Value of property polyFillMode.

getTextAlign

public int getTextAlign()
Getter for property textAlign.

Returns: Value of property textAlign.

restoreState

public void restoreState(int index, PdfContentByte cb)

saveState

public void saveState(PdfContentByte cb)

selectMetaObject

public void selectMetaObject(int index, PdfContentByte cb)

setBackgroundMode

public void setBackgroundMode(int backgroundMode)
Setter for property backgroundMode.

Parameters: backgroundMode New value of property backgroundMode.

setCurrentBackgroundColor

public void setCurrentBackgroundColor(Color currentBackgroundColor)
Setter for property currentBackgroundColor.

Parameters: currentBackgroundColor New value of property currentBackgroundColor.

setCurrentPoint

public void setCurrentPoint(Point p)

setCurrentTextColor

public void setCurrentTextColor(Color currentTextColor)
Setter for property currentTextColor.

Parameters: currentTextColor New value of property currentTextColor.

setExtentWx

public void setExtentWx(int extentWx)

setExtentWy

public void setExtentWy(int extentWy)

setLineJoinPolygon

public void setLineJoinPolygon(PdfContentByte cb)

setLineJoinRectangle

public void setLineJoinRectangle(PdfContentByte cb)

setMetaState

public void setMetaState(MetaState state)

setOffsetWx

public void setOffsetWx(int offsetWx)

setOffsetWy

public void setOffsetWy(int offsetWy)

setPolyFillMode

public void setPolyFillMode(int polyFillMode)
Setter for property polyFillMode.

Parameters: polyFillMode New value of property polyFillMode.

setScalingX

public void setScalingX(float scalingX)

setScalingY

public void setScalingY(float scalingY)

setTextAlign

public void setTextAlign(int textAlign)
Setter for property textAlign.

Parameters: textAlign New value of property textAlign.

transformAngle

public float transformAngle(float angle)

transformX

public float transformX(int x)

transformY

public float transformY(int y)