Package com.aowagie.text.pdf.codec.wmf
Class MetaState
java.lang.Object
com.aowagie.text.pdf.codec.wmf.MetaState
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
private int
private Color
private MetaBrush
private MetaFont
private MetaPen
private Point
private Color
private int
private int
private int
private ArrayList
private int
private int
static final int
private int
private Stack
private float
private float
(package private) static final int
(package private) static final int
(package private) static final int
(package private) static final int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetaObject
(MetaObject object) void
void
deleteMetaObject
(int index) int
Getter for property backgroundMode.Getter for property currentBackgroundColor.Getter for property currentTextColor.boolean
int
Getter for property polyFillMode.int
Getter for property textAlign.void
restoreState
(int index, PdfContentByte cb) void
void
selectMetaObject
(int index, PdfContentByte cb) void
setBackgroundMode
(int backgroundMode) Setter for property backgroundMode.void
setCurrentBackgroundColor
(Color currentBackgroundColor) Setter for property currentBackgroundColor.void
void
setCurrentTextColor
(Color currentTextColor) Setter for property currentTextColor.void
setExtentWx
(int extentWx) void
setExtentWy
(int extentWy) void
void
void
setMetaState
(MetaState state) void
setOffsetWx
(int offsetWx) void
setOffsetWy
(int offsetWy) void
setPolyFillMode
(int polyFillMode) Setter for property polyFillMode.void
setScalingX
(float scalingX) void
setScalingY
(float scalingY) void
setTextAlign
(int textAlign) Setter for property textAlign.float
transformAngle
(float angle) float
transformX
(int x) float
transformY
(int y)
-
Field Details
-
TA_RIGHT
static final int TA_RIGHT- See Also:
-
TA_CENTER
static final int TA_CENTER- See Also:
-
TA_BOTTOM
static final int TA_BOTTOM- See Also:
-
TA_BASELINE
static final int TA_BASELINE- See Also:
-
OPAQUE
public static final int OPAQUE- See Also:
-
ALTERNATE
static final int ALTERNATE- See Also:
-
savedStates
-
MetaObjects
-
currentPoint
-
currentPen
-
currentBrush
-
currentFont
-
currentBackgroundColor
-
currentTextColor
-
backgroundMode
private int backgroundMode -
polyFillMode
private int polyFillMode -
lineJoin
private int lineJoin -
textAlign
private int textAlign -
offsetWx
private int offsetWx -
offsetWy
private int offsetWy -
extentWx
private int extentWx -
extentWy
private int extentWy -
scalingX
private float scalingX -
scalingY
private float scalingY
-
-
Constructor Details
-
MetaState
public MetaState()Creates new MetaState -
MetaState
-
-
Method Details
-
setMetaState
-
addMetaObject
-
selectMetaObject
-
deleteMetaObject
public void deleteMetaObject(int index) -
saveState
-
restoreState
-
cleanup
-
transformX
public float transformX(int x) -
transformY
public float transformY(int y) -
setScalingX
public void setScalingX(float scalingX) -
setScalingY
public void setScalingY(float scalingY) -
setOffsetWx
public void setOffsetWx(int offsetWx) -
setOffsetWy
public void setOffsetWy(int offsetWy) -
setExtentWx
public void setExtentWx(int extentWx) -
setExtentWy
public void setExtentWy(int extentWy) -
transformAngle
public float transformAngle(float angle) -
setCurrentPoint
-
getCurrentPoint
-
getCurrentBrush
-
getCurrentPen
-
getCurrentFont
-
getCurrentBackgroundColor
Getter for property currentBackgroundColor.- Returns:
- Value of property currentBackgroundColor.
-
setCurrentBackgroundColor
Setter for property currentBackgroundColor.- Parameters:
currentBackgroundColor
- New value of property currentBackgroundColor.
-
getCurrentTextColor
Getter for property currentTextColor.- Returns:
- Value of property currentTextColor.
-
setCurrentTextColor
Setter for property currentTextColor.- Parameters:
currentTextColor
- New value of property currentTextColor.
-
getBackgroundMode
public int getBackgroundMode()Getter for property backgroundMode.- Returns:
- Value of property backgroundMode.
-
setBackgroundMode
public void setBackgroundMode(int backgroundMode) Setter for property backgroundMode.- Parameters:
backgroundMode
- New value of property backgroundMode.
-
getTextAlign
public int getTextAlign()Getter for property textAlign.- Returns:
- Value of property textAlign.
-
setTextAlign
public void setTextAlign(int textAlign) Setter for property textAlign.- Parameters:
textAlign
- New value of property textAlign.
-
getPolyFillMode
public int getPolyFillMode()Getter for property polyFillMode.- Returns:
- Value of property polyFillMode.
-
setPolyFillMode
public void setPolyFillMode(int polyFillMode) Setter for property polyFillMode.- Parameters:
polyFillMode
- New value of property polyFillMode.
-
setLineJoinRectangle
-
setLineJoinPolygon
-
getLineNeutral
public boolean getLineNeutral()
-