Save This Page
Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics » [javadoc | source]
org.apache.pdfbox.pdmodel.graphics
public class: PDGraphicsState [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.graphics.PDGraphicsState

All Implemented Interfaces:
    Cloneable

This class will hold the current state of the graphics parameters when executing a content stream.
Constructor:
 public PDGraphicsState() 
 public PDGraphicsState(PDRectangle page) 
    Constructor with a given pagesize to initialize the clipping path.
    Parameters:
    page - the size of the page
Method from org.apache.pdfbox.pdmodel.graphics.PDGraphicsState Summary:
clone,   getAlphaConstants,   getCurrentClippingPath,   getCurrentTransformationMatrix,   getFlatness,   getLineCap,   getLineDashPattern,   getLineJoin,   getLineWidth,   getMiterLimit,   getNonStrokingColor,   getOverprintMode,   getRenderingIntent,   getSmoothness,   getStrokingColor,   getTextState,   isAlphaSource,   isOverprint,   isStrokeAdjustment,   setAlphaConstants,   setAlphaSource,   setCurrentClippingPath,   setCurrentTransformationMatrix,   setFlatness,   setLineCap,   setLineDashPattern,   setLineJoin,   setLineWidth,   setMiterLimit,   setOverprint,   setOverprintMode,   setRenderingIntent,   setSmoothness,   setStrokeAdjustment,   setTextState
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.PDGraphicsState Detail:
 public Object clone() 
    {@inheritDoc}
 public double getAlphaConstants() 
    Get the value of the alpha constants property.
 public Shape getCurrentClippingPath() 
    This will get the current clipping path.
 public Matrix getCurrentTransformationMatrix() 
    Get the value of the CTM.
 public double getFlatness() 
    get the value of the flatness property.
 public int getLineCap() 
    Get the value of the line cap.
 public PDLineDashPattern getLineDashPattern() 
    This will get the current line dash pattern.
 public int getLineJoin() 
    Get the value of the line join.
 public double getLineWidth() 
    Get the value of the line width.
 public double getMiterLimit() 
    Get the value of the miter limit.
 public PDColorState getNonStrokingColor() 
    Returns the non-stroking color state.
 public double getOverprintMode() 
    get the value of the overprint mode property.
 public String getRenderingIntent() 
    This will get the rendering intent.
 public double getSmoothness() 
    get the value of the smoothness property.
 public PDColorState getStrokingColor() 
    Returns the stroking color state.
 public PDTextState getTextState() 
    This will get the graphics text state.
 public boolean isAlphaSource() 
    get the value of the alpha source property.
 public boolean isOverprint() 
    get the value of the overprint property.
 public boolean isStrokeAdjustment() 
    Get the value of the stroke adjustment parameter.
 public  void setAlphaConstants(double value) 
    set the value of the alpha constants property.
 public  void setAlphaSource(boolean value) 
    set the value of the alpha source property.
 public  void setCurrentClippingPath(Shape pCurrentClippingPath) 
    This will set the current clipping path.
 public  void setCurrentTransformationMatrix(Matrix value) 
    Set the value of the CTM.
 public  void setFlatness(double value) 
    set the value of the flatness property.
 public  void setLineCap(int value) 
    set the value of the line cap.
 public  void setLineDashPattern(PDLineDashPattern value) 
    This will set the current line dash pattern.
 public  void setLineJoin(int value) 
    Get the value of the line join.
 public  void setLineWidth(double value) 
    set the value of the line width.
 public  void setMiterLimit(double value) 
    set the value of the miter limit.
 public  void setOverprint(boolean value) 
    set the value of the overprint property.
 public  void setOverprintMode(double value) 
    set the value of the overprint mode property.
 public  void setRenderingIntent(String value) 
    This will set the rendering intent.
 public  void setSmoothness(double value) 
    set the value of the smoothness property.
 public  void setStrokeAdjustment(boolean value) 
    set the value of the stroke adjustment.
 public  void setTextState(PDTextState value) 
    This will set the graphics text state.