| Modifier and Type | Field and Description |
|---|---|
| private double | |
| private boolean | |
| private BlendMode | |
| private Area | |
| private List | |
| private Matrix | |
| private double | |
| private boolean | |
| private int | |
| private PDLineDashPattern | |
| private int | |
| private float | |
| private float | |
| private double | |
| private PDColor | |
| private PDColorSpace | |
| private boolean | |
| private boolean | |
| private int | |
| private RenderingIntent | |
| private double | |
| private PDSoftMask | |
| private boolean | |
| private PDColor | |
| private PDColorSpace | |
| private Matrix | |
| private Matrix | |
| private PDTextState | |
| private COSBase |
| Access | Constructor and Description |
|---|---|
| public | PDGraphicsState(PDRectangle
the size of the page page)Constructor with a given page size to initialize the clipping path. |
| Modifier and Type | Method and Description |
|---|---|
| public PDGraphicsState | |
| public double | Returns: The value of the stroke alpha constant parameter.Get the value of the stroke alpha constant property. |
| public BlendMode | |
| public Area | |
| public List | Returns: The current clipping paths.This will get the current clipping path, as one or more individual paths. |
| public Matrix | Returns: The current transformation matrix.Get the value of the CTM. |
| public double | |
| public int | |
| public PDLineDashPattern | |
| public int | |
| public float | |
| public float | |
| public double | Returns: The value of the non-stroke alpha constant parameter.Get the value of the non-stroke alpha constant property. |
| public PDColor | |
| public PDColorSpace | Returns: The non-stroking color space.Returns the non-stroking color space. |
| public Composite | |
| public int | Returns: The value of the overprint mode parameter.get the value of the overprint mode property. |
| public RenderingIntent | |
| public double | Returns: The value of the smoothness parameter.get the value of the smoothness property. |
| public PDSoftMask | |
| public PDColor | |
| public PDColorSpace | |
| public Composite | |
| public Matrix | |
| public Matrix | |
| public PDTextState | |
| public COSBase | Returns: The transfer function. According to the PDF specification, this is either a single function (which applies to all process colorants) or an array of four functions (which apply to the process colorants individually). The name Identity may be used to represent the identity function, and the name Default denotes the transfer function that was in effect at the start of the page.This will get the transfer function. |
| public void | intersectClippingPath(GeneralPath
path to intersect with the clipping path path)Modify the current clipping path by intersecting it with the given path. |
| private void | |
| public void | intersectClippingPath(Area
area to intersect with the clipping path area)Modify the current clipping path by intersecting it with the given path. |
| public boolean | Returns: The value of the stroke alpha source parameter.get the value of the stroke alpha source property. |
| public boolean | Returns: The value of the non stroking overprint parameter.get the value of the non stroking overprint property. |
| public boolean | |
| public boolean | Returns: The current stroke adjustment.Get the value of the stroke adjustment parameter. |
| public void | setAlphaConstant(double
The value of the stroke alpha constant parameter. value)set the value of the stroke alpha constant property. |
| public void | setAlphaSource(boolean
The value of the alpha source parameter. value)set the value of the alpha source property. |
| public void | |
| public void | setCurrentTransformationMatrix(Matrix
The current transformation matrix. value)Set the value of the CTM. |
| public void | setFlatness(double
The value of the flatness parameter. value)set the value of the flatness property. |
| public void | |
| public void | setLineDashPattern(PDLineDashPattern
The new line dash pattern. value)This will set the current line dash pattern. |
| public void | |
| public void | |
| public void | |
| public void | setNonStrokeAlphaConstant(double
The value of the non-stroke alpha constant parameter. value)set the value of the non-stroke alpha constant property. |
| public void | |
| public void | setNonStrokingColorSpace(PDColorSpace
The new non-stroking color space. colorSpace)Sets the non-stroking color space. |
| public void | setNonStrokingOverprint(boolean
The value of the non stroking overprint parameter. value)set the value of the non stroking overprint property. |
| public void | setOverprint(boolean
The value of the overprint parameter. value)set the value of the overprint property. |
| public void | setOverprintMode(int
The value of the overprint mode parameter. value)set the value of the overprint mode property. |
| public void | setRenderingIntent(RenderingIntent
The new rendering intent. value)This will set the rendering intent. |
| public void | setSmoothness(double
The value of the smoothness parameter. value)set the value of the smoothness property. |
| public void | |
| public void | setStrokeAdjustment(boolean
The value of the stroke adjustment parameter. value)set the value of the stroke adjustment. |
| public void | |
| public void | setStrokingColorSpace(PDColorSpace
The new stroking color space. colorSpace)Sets the stroking color space. |
| public void | |
| public void | |
| public void | |
| public void | setTransfer(COSBase
The transfer function. According to the PDF specification, this is either a
single function (which applies to all process colorants) or an array of four functions (which
apply to the process colorants individually). The name Identity may be used to represent the
identity function, and the name Default denotes the transfer function that was in effect at
the start of the page. transfer)This will set the transfer function. |
| alphaConstant | back to summary |
|---|---|
| private double alphaConstant | |
| alphaSource | back to summary |
|---|---|
| private boolean alphaSource | |
| blendMode | back to summary |
|---|---|
| private BlendMode blendMode | |
| clippingPathCache | back to summary |
|---|---|
| private Area clippingPathCache | |
| clippingPaths | back to summary |
|---|---|
| private List<Path2D> clippingPaths | |
| currentTransformationMatrix | back to summary |
|---|---|
| private Matrix currentTransformationMatrix | |
| flatness | back to summary |
|---|---|
| private double flatness | |
| isClippingPathDirty | back to summary |
|---|---|
| private boolean isClippingPathDirty | |
| lineCap | back to summary |
|---|---|
| private int lineCap | |
| lineDashPattern | back to summary |
|---|---|
| private PDLineDashPattern lineDashPattern | |
| lineJoin | back to summary |
|---|---|
| private int lineJoin | |
| lineWidth | back to summary |
|---|---|
| private float lineWidth | |
| miterLimit | back to summary |
|---|---|
| private float miterLimit | |
| nonStrokingAlphaConstant | back to summary |
|---|---|
| private double nonStrokingAlphaConstant | |
| nonStrokingColor | back to summary |
|---|---|
| private PDColor nonStrokingColor | |
| nonStrokingColorSpace | back to summary |
|---|---|
| private PDColorSpace nonStrokingColorSpace | |
| nonStrokingOverprint | back to summary |
|---|---|
| private boolean nonStrokingOverprint | |
| overprint | back to summary |
|---|---|
| private boolean overprint | |
| overprintMode | back to summary |
|---|---|
| private int overprintMode | |
| renderingIntent | back to summary |
|---|---|
| private RenderingIntent renderingIntent | |
| smoothness | back to summary |
|---|---|
| private double smoothness | |
| softMask | back to summary |
|---|---|
| private PDSoftMask softMask | |
| strokeAdjustment | back to summary |
|---|---|
| private boolean strokeAdjustment | |
| strokingColor | back to summary |
|---|---|
| private PDColor strokingColor | |
| strokingColorSpace | back to summary |
|---|---|
| private PDColorSpace strokingColorSpace | |
| textLineMatrix | back to summary |
|---|---|
| private Matrix textLineMatrix | |
| textMatrix | back to summary |
|---|---|
| private Matrix textMatrix | |
| textState | back to summary |
|---|---|
| private PDTextState textState | |
| transfer | back to summary |
|---|---|
| private COSBase transfer | |
| PDGraphicsState | back to summary |
|---|---|
| public PDGraphicsState(PDRectangle page) Constructor with a given page size to initialize the clipping path.
| |
| clone | back to summary |
|---|---|
| public PDGraphicsState clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getAlphaConstant | back to summary |
|---|---|
| public double getAlphaConstant() Get the value of the stroke alpha constant property.
| |
| getBlendMode | back to summary |
|---|---|
| public BlendMode getBlendMode() Returns the current blend mode
| |
| getCurrentClippingPath | back to summary |
|---|---|
| public Area getCurrentClippingPath() This will get the current clipping path. Do not modify this Area object!
| |
| getCurrentClippingPaths | back to summary |
|---|---|
| public List This will get the current clipping path, as one or more individual paths. Do not modify the list or the paths! | |
| getCurrentTransformationMatrix | back to summary |
|---|---|
| public Matrix getCurrentTransformationMatrix() Get the value of the CTM.
| |
| getFlatness | back to summary |
|---|---|
| public double getFlatness() get the value of the flatness property.
| |
| getLineCap | back to summary |
|---|---|
| public int getLineCap() Get the value of the line cap.
| |
| getLineDashPattern | back to summary |
|---|---|
| public PDLineDashPattern getLineDashPattern() This will get the current line dash pattern.
| |
| getLineJoin | back to summary |
|---|---|
| public int getLineJoin() Get the value of the line join.
| |
| getLineWidth | back to summary |
|---|---|
| public float getLineWidth() Get the value of the line width.
| |
| getMiterLimit | back to summary |
|---|---|
| public float getMiterLimit() Get the value of the miter limit.
| |
| getNonStrokeAlphaConstant | back to summary |
|---|---|
| public double getNonStrokeAlphaConstant() Get the value of the non-stroke alpha constant property.
| |
| getNonStrokingColor | back to summary |
|---|---|
| public PDColor getNonStrokingColor() Returns the non-stroking color.
| |
| getNonStrokingColorSpace | back to summary |
|---|---|
| public PDColorSpace getNonStrokingColorSpace() Returns the non-stroking color space.
| |
| getNonStrokingJavaComposite | back to summary |
|---|---|
| public Composite getNonStrokingJavaComposite() | |
| getOverprintMode | back to summary |
|---|---|
| public int getOverprintMode() get the value of the overprint mode property.
| |
| getRenderingIntent | back to summary |
|---|---|
| public RenderingIntent getRenderingIntent() This will get the rendering intent.
| |
| getSmoothness | back to summary |
|---|---|
| public double getSmoothness() get the value of the smoothness property.
| |
| getSoftMask | back to summary |
|---|---|
| public PDSoftMask getSoftMask() returns the current softmask
| |
| getStrokingColor | back to summary |
|---|---|
| public PDColor getStrokingColor() Returns the stroking color.
| |
| getStrokingColorSpace | back to summary |
|---|---|
| public PDColorSpace getStrokingColorSpace() Returns the stroking color space.
| |
| getStrokingJavaComposite | back to summary |
|---|---|
| public Composite getStrokingJavaComposite() | |
| getTextLineMatrix | back to summary |
|---|---|
public Matrix getTextLineMatrix()
| |
| getTextMatrix | back to summary |
|---|---|
public Matrix getTextMatrix()
| |
| getTextState | back to summary |
|---|---|
| public PDTextState getTextState() This will get the graphics text state.
| |
| getTransfer | back to summary |
|---|---|
| public COSBase getTransfer() This will get the transfer function.
| |
| intersectClippingPath | back to summary |
|---|---|
| public void intersectClippingPath(GeneralPath path) Modify the current clipping path by intersecting it with the given path.
| |
| intersectClippingPath | back to summary |
|---|---|
| private void intersectClippingPath(Path2D path, boolean clonePath) | |
| intersectClippingPath | back to summary |
|---|---|
| public void intersectClippingPath(Area area) Modify the current clipping path by intersecting it with the given path.
| |
| isAlphaSource | back to summary |
|---|---|
| public boolean isAlphaSource() get the value of the stroke alpha source property.
| |
| isNonStrokingOverprint | back to summary |
|---|---|
| public boolean isNonStrokingOverprint() get the value of the non stroking overprint property.
| |
| isOverprint | back to summary |
|---|---|
| public boolean isOverprint() get the value of the overprint property.
| |
| isStrokeAdjustment | back to summary |
|---|---|
| public boolean isStrokeAdjustment() Get the value of the stroke adjustment parameter.
| |
| setAlphaConstant | back to summary |
|---|---|
| public void setAlphaConstant(double value) set the value of the stroke alpha constant property.
| |
| setAlphaSource | back to summary |
|---|---|
| public void setAlphaSource(boolean value) set the value of the alpha source property.
| |
| setBlendMode | back to summary |
|---|---|
| public void setBlendMode(BlendMode blendMode) Sets the blend mode in the current graphics state
| |
| setCurrentTransformationMatrix | back to summary |
|---|---|
| public void setCurrentTransformationMatrix(Matrix value) Set the value of the CTM.
| |
| setFlatness | back to summary |
|---|---|
| public void setFlatness(double value) set the value of the flatness property.
| |
| setLineCap | back to summary |
|---|---|
| public void setLineCap(int value) set the value of the line cap.
| |
| setLineDashPattern | back to summary |
|---|---|
| public void setLineDashPattern(PDLineDashPattern value) This will set the current line dash pattern.
| |
| setLineJoin | back to summary |
|---|---|
| public void setLineJoin(int value) Get the value of the line join.
| |
| setLineWidth | back to summary |
|---|---|
| public void setLineWidth(float value) set the value of the line width.
| |
| setMiterLimit | back to summary |
|---|---|
| public void setMiterLimit(float value) set the value of the miter limit.
| |
| setNonStrokeAlphaConstant | back to summary |
|---|---|
| public void setNonStrokeAlphaConstant(double value) set the value of the non-stroke alpha constant property.
| |
| setNonStrokingColor | back to summary |
|---|---|
| public void setNonStrokingColor(PDColor color) Sets the non-stroking color.
| |
| setNonStrokingColorSpace | back to summary |
|---|---|
| public void setNonStrokingColorSpace(PDColorSpace colorSpace) Sets the non-stroking color space.
| |
| setNonStrokingOverprint | back to summary |
|---|---|
| public void setNonStrokingOverprint(boolean value) set the value of the non stroking overprint property.
| |
| setOverprint | back to summary |
|---|---|
| public void setOverprint(boolean value) set the value of the overprint property.
| |
| setOverprintMode | back to summary |
|---|---|
| public void setOverprintMode(int value) set the value of the overprint mode property.
| |
| setRenderingIntent | back to summary |
|---|---|
| public void setRenderingIntent(RenderingIntent value) This will set the rendering intent.
| |
| setSmoothness | back to summary |
|---|---|
| public void setSmoothness(double value) set the value of the smoothness property.
| |
| setSoftMask | back to summary |
|---|---|
| public void setSoftMask(PDSoftMask softMask) Sets the current soft mask
| |
| setStrokeAdjustment | back to summary |
|---|---|
| public void setStrokeAdjustment(boolean value) set the value of the stroke adjustment.
| |
| setStrokingColor | back to summary |
|---|---|
| public void setStrokingColor(PDColor color) Sets the stroking color.
| |
| setStrokingColorSpace | back to summary |
|---|---|
| public void setStrokingColorSpace(PDColorSpace colorSpace) Sets the stroking color space.
| |
| setTextLineMatrix | back to summary |
|---|---|
public void setTextLineMatrix(Matrix value)
| |
| setTextMatrix | back to summary |
|---|---|
public void setTextMatrix(Matrix value)
| |
| setTextState | back to summary |
|---|---|
| public void setTextState(PDTextState value) This will set the graphics text state.
| |
| setTransfer | back to summary |
|---|---|
| public void setTransfer(COSBase transfer) This will set the transfer function.
| |