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

All Implemented Interfaces:
    COSObjectable

This class represents the graphics state dictionary that is stored in the PDF document. The PDGraphicsStateValue holds the current runtime values as a stream is being executed.
Field Summary
public static final  String RENDERING_INTENT_ABSOLUTE_COLORIMETRIC    Rendering intent constants, see PDF Reference 1.5 Section 4.5.4 Rendering Intents. 
public static final  String RENDERING_INTENT_RELATIVE_COLORIMETRIC    Rendering intent constants, see PDF Reference 1.5 Section 4.5.4 Rendering Intents. 
public static final  String RENDERING_INTENT_SATURATION    Rendering intent constants, see PDF Reference 1.5 Section 4.5.4 Rendering Intents. 
public static final  String RENDERING_INTENT_PERCEPTUAL    Rendering intent constants, see PDF Reference 1.5 Section 4.5.4 Rendering Intents. 
Constructor:
 public PDExtendedGraphicsState() 
 public PDExtendedGraphicsState(COSDictionary dictionary) 
    Create a graphics state from an existing dictionary.
    Parameters:
    dictionary - The existing graphics state.
Method from org.apache.pdfbox.pdmodel.graphics.PDExtendedGraphicsState Summary:
copyIntoGraphicsState,   getAlphaSourceFlag,   getAutomaticStrokeAdjustment,   getCOSDictionary,   getCOSObject,   getFlatnessTolerance,   getFontSetting,   getLineCapStyle,   getLineDashPattern,   getLineJoinStyle,   getLineWidth,   getMiterLimit,   getNonStrokingAlpaConstant,   getNonStrokingOverprintControl,   getOverprintMode,   getRenderingIntent,   getSmoothnessTolerance,   getStrokingAlpaConstant,   getStrokingOverprintControl,   getTextKnockoutFlag,   setAlphaSourceFlag,   setAutomaticStrokeAdjustment,   setFlatnessTolerance,   setFontSetting,   setLineCapStyle,   setLineDashPattern,   setLineJoinStyle,   setLineWidth,   setMiterLimit,   setNonStrokingAlphaConstant,   setNonStrokingOverprintControl,   setOverprintMode,   setRenderingIntent,   setSmoothnessTolerance,   setStrokingAlphaConstant,   setStrokingOverprintControl,   setTextKnockoutFlag
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.PDExtendedGraphicsState Detail:
 public  void copyIntoGraphicsState(PDGraphicsState gs) throws IOException 
    This will implement the gs operator.
 public boolean getAlphaSourceFlag() 
    This will get the alpha source flag.
 public boolean getAutomaticStrokeAdjustment() 
    This will get the automatic stroke adjustment flag.
 public COSDictionary getCOSDictionary() 
    This will get the underlying dictionary that this class acts on.
 public COSBase getCOSObject() 
    Convert this standard java object to a COS object.
 public Float getFlatnessTolerance() 
    This will get the flatness tolerance.
 public PDFontSetting getFontSetting() 
    This will get the font setting of the graphics state.
 public int getLineCapStyle() 
    This will get the line cap style.
 public PDLineDashPattern getLineDashPattern() 
    This will get the dash pattern.
 public int getLineJoinStyle() 
    This will get the line join style.
 public Float getLineWidth() 
    This will get the line width. This will return null if there is no line width
 public Float getMiterLimit() 
    This will get the miter limit.
 public Float getNonStrokingAlpaConstant() 
    This will get the non stroking alpha constant.
 public boolean getNonStrokingOverprintControl() 
    This will get the overprint control for non stroking operations. If this value is null then the regular overprint control value will be returned.
 public Float getOverprintMode() 
    This will get the overprint control mode.
 public String getRenderingIntent() 
    This will get the rendering intent.
 public Float getSmoothnessTolerance() 
    This will get the smothness tolerance.
 public Float getStrokingAlpaConstant() 
    This will get the stroking alpha constant.
 public boolean getStrokingOverprintControl() 
    This will get the overprint control.
 public boolean getTextKnockoutFlag() 
    This will get the text knockout flag.
 public  void setAlphaSourceFlag(boolean alpha) 
    This will get the alpha source flag.
 public  void setAutomaticStrokeAdjustment(boolean sa) 
    This will get the automatic stroke adjustment flag.
 public  void setFlatnessTolerance(Float flatness) 
    This will get the flatness tolerance.
 public  void setFontSetting(PDFontSetting fs) 
    This will set the font setting for this graphics state.
 public  void setLineCapStyle(int style) 
    This will set the line cap style for the graphics state.
 public  void setLineDashPattern(PDLineDashPattern dashPattern) 
    This will set the dash pattern for the graphics state.
 public  void setLineJoinStyle(int style) 
    This will set the line join style.
 public  void setLineWidth(Float width) 
    This will set the line width.
 public  void setMiterLimit(Float miterLimit) 
    This will set the miter limit for the graphics state.
 public  void setNonStrokingAlphaConstant(Float alpha) 
    This will get the non stroking alpha constant.
 public  void setNonStrokingOverprintControl(boolean op) 
    This will get the overprint control(OP).
 public  void setOverprintMode(Float overprintMode) 
    This will get the overprint mode(OPM).
 public  void setRenderingIntent(String ri) 
    This will set the rendering intent for the graphics state.
 public  void setSmoothnessTolerance(Float smoothness) 
    This will get the smoothness tolerance.
 public  void setStrokingAlphaConstant(Float alpha) 
    This will get the stroking alpha constant.
 public  void setStrokingOverprintControl(boolean op) 
    This will get the overprint control(OP).
 public  void setTextKnockoutFlag(boolean tk) 
    This will get the text knockout flag.