This class will hold the current state of the graphics parameters when executing a
content stream.
clone
public Object clone()
getAlphaConstants
public double getAlphaConstants()
Get the value of the alpha constants property.
- The value of the alpha constants parameter.
getCurrentTransformationMatrix
public Matrix getCurrentTransformationMatrix()
Get the value of the CTM.
- The current transformation matrix.
getFlatness
public double getFlatness()
get the value of the flatness property.
- The value of the flatness parameter.
getLineCap
public int getLineCap()
Get the value of the line cap.
getLineDashPattern
public PDLineDashPattern getLineDashPattern()
This will get the current line dash pattern.
getLineJoin
public int getLineJoin()
Get the value of the line join.
- The current line join value.
getLineWidth
public double getLineWidth()
Get the value of the line width.
getMiterLimit
public double getMiterLimit()
Get the value of the miter limit.
getNonStrokingColorSpace
public PDColorSpaceInstance getNonStrokingColorSpace()
This will get the nonstroking color space instance.
getOverprintMode
public double getOverprintMode()
get the value of the overprint mode property.
- The value of the overprint mode parameter.
getRenderingIntent
public String getRenderingIntent()
This will get the rendering intent.
getSmoothness
public double getSmoothness()
get the value of the smoothness property.
- The value of the smoothness parameter.
getStrokingColorSpace
public PDColorSpaceInstance getStrokingColorSpace()
This will get the current stroking colorspace.
- The current stroking colorspace.
getTextState
public PDTextState getTextState()
This will get the graphics text state.
isAlphaSource
public boolean isAlphaSource()
get the value of the alpha source property.
- The value of the alpha source parameter.
isOverprint
public boolean isOverprint()
get the value of the overprint property.
- The value of the overprint parameter.
isStrokeAdjustment
public boolean isStrokeAdjustment()
Get the value of the stroke adjustment parameter.
- The current stroke adjustment.
setAlphaConstants
public void setAlphaConstants(double value)
set the value of the alpha constants property.
value
- The value of the alpha constants parameter.
setAlphaSource
public void setAlphaSource(boolean value)
set the value of the alpha source property.
value
- The value of the alpha source parameter.
setCurrentTransformationMatrix
public void setCurrentTransformationMatrix(Matrix value)
Set the value of the CTM.
value
- The current transformation matrix.
setFlatness
public void setFlatness(double value)
set the value of the flatness property.
value
- The value of the flatness parameter.
setLineCap
public void setLineCap(int value)
set the value of the line cap.
value
- The current line cap.
setLineDashPattern
public void setLineDashPattern(PDLineDashPattern value)
This will set the current line dash pattern.
value
- The new line dash pattern.
setLineJoin
public void setLineJoin(int value)
Get the value of the line join.
value
- The current line join
setLineWidth
public void setLineWidth(double value)
set the value of the line width.
value
- The current line width.
setMiterLimit
public void setMiterLimit(double value)
set the value of the miter limit.
value
- The current miter limit.
setNonStrokingColorSpace
public void setNonStrokingColorSpace(PDColorSpaceInstance value)
This will set the non-stroking colorspace instance.
value
- The non-stroking colorspace instance.
setOverprint
public void setOverprint(boolean value)
set the value of the overprint property.
value
- The value of the overprint parameter.
setOverprintMode
public void setOverprintMode(double value)
set the value of the overprint mode property.
value
- The value of the overprint mode parameter.
setRenderingIntent
public void setRenderingIntent(String value)
This will set the rendering intent.
value
- The new rendering intent.
setSmoothness
public void setSmoothness(double value)
set the value of the smoothness property.
value
- The value of the smoothness parameter.
setStrokeAdjustment
public void setStrokeAdjustment(boolean value)
set the value of the stroke adjustment.
value
- The value of the stroke adjustment parameter.
setStrokingColorSpace
public void setStrokingColorSpace(PDColorSpaceInstance value)
This will set the current stroking colorspace.
value
- The new stroking colorspace instance.
setTextState
public void setTextState(PDTextState value)
This will set the graphics text state.
value
- The graphics text state.