public class MetaState extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALTERNATE |
int |
backgroundMode |
Color |
currentBackgroundColor |
MetaBrush |
currentBrush |
MetaFont |
currentFont |
MetaPen |
currentPen |
Point |
currentPoint |
Color |
currentTextColor |
int |
extentWx |
int |
extentWy |
int |
lineJoin |
List<Object> |
MetaObjects |
int |
offsetWx |
int |
offsetWy |
static int |
OPAQUE |
int |
polyFillMode |
Stack<MetaState> |
savedStates |
float |
scalingX |
float |
scalingY |
static int |
TA_BASELINE |
static int |
TA_BOTTOM |
static int |
TA_CENTER |
static int |
TA_LEFT |
static int |
TA_NOUPDATECP |
static int |
TA_RIGHT |
static int |
TA_TOP |
static int |
TA_UPDATECP |
int |
textAlign |
static int |
TRANSPARENT |
static int |
WINDING |
Constructor and Description |
---|
MetaState()
Creates new MetaState
|
MetaState(MetaState state) |
Modifier and Type | Method and Description |
---|---|
void |
addMetaObject(MetaObject object) |
void |
cleanup(PdfContentByte cb) |
void |
deleteMetaObject(int index) |
int |
getBackgroundMode()
Getter for property backgroundMode.
|
Color |
getCurrentBackgroundColor()
Getter for property currentBackgroundColor.
|
MetaBrush |
getCurrentBrush() |
MetaFont |
getCurrentFont() |
MetaPen |
getCurrentPen() |
Point |
getCurrentPoint() |
Color |
getCurrentTextColor()
Getter for property currentTextColor.
|
boolean |
getLineNeutral() |
int |
getPolyFillMode()
Getter for property polyFillMode.
|
int |
getTextAlign()
Getter for property textAlign.
|
void |
restoreState(int index,
PdfContentByte cb) |
void |
saveState(PdfContentByte cb) |
void |
selectMetaObject(int index,
PdfContentByte cb) |
void |
setBackgroundMode(int backgroundMode)
Setter for property backgroundMode.
|
void |
setCurrentBackgroundColor(Color currentBackgroundColor)
Setter for property currentBackgroundColor.
|
void |
setCurrentPoint(Point p) |
void |
setCurrentTextColor(Color currentTextColor)
Setter for property currentTextColor.
|
void |
setExtentWx(int extentWx) |
void |
setExtentWy(int extentWy) |
void |
setLineJoinPolygon(PdfContentByte cb) |
void |
setLineJoinRectangle(PdfContentByte cb) |
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) |
public static final int TA_NOUPDATECP
public static final int TA_UPDATECP
public static final int TA_LEFT
public static final int TA_RIGHT
public static final int TA_CENTER
public static final int TA_TOP
public static final int TA_BOTTOM
public static final int TA_BASELINE
public static final int TRANSPARENT
public static final int OPAQUE
public static final int ALTERNATE
public static final int WINDING
public Point currentPoint
public MetaPen currentPen
public MetaBrush currentBrush
public MetaFont currentFont
public Color currentBackgroundColor
public Color currentTextColor
public int backgroundMode
public int polyFillMode
public int lineJoin
public int textAlign
public int offsetWx
public int offsetWy
public int extentWx
public int extentWy
public float scalingX
public float scalingY
public MetaState()
public MetaState(MetaState state)
public void setMetaState(MetaState state)
public void addMetaObject(MetaObject object)
public void selectMetaObject(int index, PdfContentByte cb)
public void deleteMetaObject(int index)
public void saveState(PdfContentByte cb)
public void restoreState(int index, PdfContentByte cb)
public void cleanup(PdfContentByte cb)
public float transformX(int x)
public float transformY(int y)
public void setScalingX(float scalingX)
public void setScalingY(float scalingY)
public void setOffsetWx(int offsetWx)
public void setOffsetWy(int offsetWy)
public void setExtentWx(int extentWx)
public void setExtentWy(int extentWy)
public float transformAngle(float angle)
public void setCurrentPoint(Point p)
public Point getCurrentPoint()
public MetaBrush getCurrentBrush()
public MetaPen getCurrentPen()
public MetaFont getCurrentFont()
public Color getCurrentBackgroundColor()
public void setCurrentBackgroundColor(Color currentBackgroundColor)
currentBackgroundColor
- New value of property currentBackgroundColor.public Color getCurrentTextColor()
public void setCurrentTextColor(Color currentTextColor)
currentTextColor
- New value of property currentTextColor.public int getBackgroundMode()
public void setBackgroundMode(int backgroundMode)
backgroundMode
- New value of property backgroundMode.public int getTextAlign()
public void setTextAlign(int textAlign)
textAlign
- New value of property textAlign.public int getPolyFillMode()
public void setPolyFillMode(int polyFillMode)
polyFillMode
- New value of property polyFillMode.public void setLineJoinRectangle(PdfContentByte cb)
public void setLineJoinPolygon(PdfContentByte cb)
public boolean getLineNeutral()
Copyright © 2020. All rights reserved.