|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdmodel.graphics.PDGraphicsState
This class will hold the current state of the graphics parameters when executing a content stream.
Constructor Summary | |
PDGraphicsState()
|
Method Summary | |
Object |
clone()
|
double |
getAlphaConstants()
Get the value of the alpha constants property. |
Matrix |
getCurrentTransformationMatrix()
Get the value of the CTM. |
double |
getFlatness()
get the value of the flatness property. |
int |
getLineCap()
Get the value of the line cap. |
PDLineDashPattern |
getLineDashPattern()
This will get the current line dash pattern. |
int |
getLineJoin()
Get the value of the line join. |
double |
getLineWidth()
Get the value of the line width. |
double |
getMiterLimit()
Get the value of the miter limit. |
PDColorSpaceInstance |
getNonStrokingColorSpace()
This will get the nonstroking color space instance. |
double |
getOverprintMode()
get the value of the overprint mode property. |
String |
getRenderingIntent()
This will get the rendering intent. |
double |
getSmoothness()
get the value of the smoothness property. |
PDColorSpaceInstance |
getStrokingColorSpace()
This will get the current stroking colorspace. |
PDTextState |
getTextState()
This will get the graphics text state. |
boolean |
isAlphaSource()
get the value of the alpha source property. |
boolean |
isOverprint()
get the value of the overprint property. |
boolean |
isStrokeAdjustment()
Get the value of the stroke adjustment parameter. |
void |
setAlphaConstants(double value)
set the value of the alpha constants property. |
void |
setAlphaSource(boolean value)
set the value of the alpha source property. |
void |
setCurrentTransformationMatrix(Matrix value)
Set the value of the CTM. |
void |
setFlatness(double value)
set the value of the flatness property. |
void |
setLineCap(int value)
set the value of the line cap. |
void |
setLineDashPattern(PDLineDashPattern value)
This will set the current line dash pattern. |
void |
setLineJoin(int value)
Get the value of the line join. |
void |
setLineWidth(double value)
set the value of the line width. |
void |
setMiterLimit(double value)
set the value of the miter limit. |
void |
setNonStrokingColorSpace(PDColorSpaceInstance value)
This will set the non-stroking colorspace instance. |
void |
setOverprint(boolean value)
set the value of the overprint property. |
void |
setOverprintMode(double value)
set the value of the overprint mode property. |
void |
setRenderingIntent(String value)
This will set the rendering intent. |
void |
setSmoothness(double value)
set the value of the smoothness property. |
void |
setStrokeAdjustment(boolean value)
set the value of the stroke adjustment. |
void |
setStrokingColorSpace(PDColorSpaceInstance value)
This will set the current stroking colorspace. |
void |
setTextState(PDTextState value)
This will set the graphics text state. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDGraphicsState()
Method Detail |
public Matrix getCurrentTransformationMatrix()
public void setCurrentTransformationMatrix(Matrix value)
value
- The current transformation matrix.public double getLineWidth()
public void setLineWidth(double value)
value
- The current line width.public int getLineCap()
public void setLineCap(int value)
value
- The current line cap.public int getLineJoin()
public void setLineJoin(int value)
value
- The current line joinpublic double getMiterLimit()
public void setMiterLimit(double value)
value
- The current miter limit.public boolean isStrokeAdjustment()
public void setStrokeAdjustment(boolean value)
value
- The value of the stroke adjustment parameter.public double getAlphaConstants()
public void setAlphaConstants(double value)
value
- The value of the alpha constants parameter.public boolean isAlphaSource()
public void setAlphaSource(boolean value)
value
- The value of the alpha source parameter.public boolean isOverprint()
public void setOverprint(boolean value)
value
- The value of the overprint parameter.public double getOverprintMode()
public void setOverprintMode(double value)
value
- The value of the overprint mode parameter.public double getFlatness()
public void setFlatness(double value)
value
- The value of the flatness parameter.public double getSmoothness()
public void setSmoothness(double value)
value
- The value of the smoothness parameter.public PDTextState getTextState()
public void setTextState(PDTextState value)
value
- The graphics text state.public PDLineDashPattern getLineDashPattern()
public void setLineDashPattern(PDLineDashPattern value)
value
- The new line dash pattern.public String getRenderingIntent()
PDExtendedGraphicsState
public void setRenderingIntent(String value)
value
- The new rendering intent.public Object clone()
public PDColorSpaceInstance getStrokingColorSpace()
public void setStrokingColorSpace(PDColorSpaceInstance value)
value
- The new stroking colorspace instance.public PDColorSpaceInstance getNonStrokingColorSpace()
public void setNonStrokingColorSpace(PDColorSpaceInstance value)
value
- The non-stroking colorspace instance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |