| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDExtendedGraphicsState(COSDictionary
The existing graphics state. dictionary)Create a graphics state from an existing dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| public void | copyIntoGraphicsState(PDGraphicsState
The state to copy this dictionaries values into. gs)This will implement the gs operator. |
| private float | Returns: 'standard' value if notnull otherwise default value'standard' value standardValue, float default value defaultValue)Returns the provided default value in case 'standard' value is |
| public boolean | Returns: The alpha source flag.This will get the alpha source flag (“alpha is shape”), that specifies whether the current soft mask and alpha constant shall be interpreted as shape values (true) or opacity values (false). |
| public boolean | Returns: The automatic stroke adjustment flag or null if one has not been set.This will get the automatic stroke adjustment flag. |
| public BlendMode | |
| public COSDictionary | Returns: The underlying dictionary for this class.Implements org. This will get the underlying dictionary that this class acts on. |
| public Float | Returns: The flatness tolerance or null if one has not been set.This will get the flatness tolerance. |
| private Float | Returns: The value for that item.The key to the item. key)This will get a float item from the dictionary. |
| public PDFontSetting | |
| public int | |
| public PDLineDashPattern | |
| public int | Returns: null or the LJ value in the dictionary.This will get the line join style. |
| public Float | |
| public Float | |
| public Float | Returns: The non stroking alpha constant or null if one has not been set.This will get the non stroking alpha constant. |
| public boolean | Returns: The overprint control or null if one has not been set.This will get the overprint control for non stroking operations. |
| public Integer | Returns: The overprint control mode or null if one has not been set.This will get the overprint control mode. |
| public RenderingIntent | Returns: null or the RI value in the dictionary.This will get the rendering intent. |
| public Float | Returns: The smothness tolerance or null if one has not been set.This will get the smothness tolerance. |
| public PDSoftMask | Returns: the soft mask or null if there isn't any.Returns the soft mask stored in the COS dictionary |
| public Float | Returns: The stroking alpha constant or null if one has not been set.This will get the stroking alpha constant. |
| public boolean | Returns: The overprint control or null if one has not been set.This will get the overprint control. |
| public boolean | |
| 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.This will get the transfer function of the /TR dictionary. |
| 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 of the /TR2 dictionary. |
| public void | setAlphaSourceFlag(boolean
The alpha source flag. alpha)This will set the alpha source flag (“alpha is shape”), that specifies whether the current soft mask and alpha constant shall be interpreted as shape values (true) or opacity values (false). |
| public void | setAutomaticStrokeAdjustment(boolean
The new automatic stroke adjustment flag. sa)This will set the automatic stroke adjustment flag. |
| public void | |
| public void | |
| private void | setFloatItem(COSName
The key to the data that we are setting. key, Float The value that we are setting. value)This will set a float object. |
| public void | setFontSetting(PDFontSetting
The new font setting. fs)This will set the font setting for this graphics state. |
| public void | setLineCapStyle(int
The new line cap style to set. style)This will set the line cap style for the graphics state. |
| public void | setLineDashPattern(PDLineDashPattern
The dash pattern dashPattern)This will set the dash pattern for the graphics state. |
| public void | |
| public void | |
| public void | setMiterLimit(Float
The new miter limit value miterLimit)This will set the miter limit for the graphics state. |
| public void | setNonStrokingAlphaConstant(Float
The new non stroking alpha constant. alpha)This will set the non stroking alpha constant. |
| public void | setNonStrokingOverprintControl(boolean
The overprint control. op)This will set the overprint control(OP). |
| public void | |
| public void | setRenderingIntent(String
The new rendering intent ri)This will set the rendering intent for the graphics state. |
| public void | setSmoothnessTolerance(Float
The new smoothness tolerance smoothness)This will set the smoothness tolerance. |
| public void | setStrokingAlphaConstant(Float
The new stroking alpha constant. alpha)This will set the stroking alpha constant. |
| public void | setStrokingOverprintControl(boolean
The overprint control. op)This will set the overprint control(OP). |
| 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. transfer)This will set the transfer function of the /TR dictionary. |
| public void | setTransfer2(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. transfer2)This will set the transfer function of the /TR2 dictionary. |
| dict | back to summary |
|---|---|
| private final COSDictionary dict | |
| PDExtendedGraphicsState | back to summary |
|---|---|
| public PDExtendedGraphicsState() Default constructor, creates blank graphics state. | |
| PDExtendedGraphicsState | back to summary |
|---|---|
| public PDExtendedGraphicsState(COSDictionary dictionary) Create a graphics state from an existing dictionary.
| |
| copyIntoGraphicsState | back to summary |
|---|---|
| public void copyIntoGraphicsState(PDGraphicsState gs) throws IOException This will implement the gs operator.
| |
| defaultIfNull | back to summary |
|---|---|
| private float defaultIfNull(Float standardValue, float defaultValue) Returns the provided default value in case 'standard' value is
| |
| getAlphaSourceFlag | back to summary |
|---|---|
| public boolean getAlphaSourceFlag() This will get the alpha source flag (“alpha is shape”), that specifies whether the current soft mask and alpha constant shall be interpreted as shape values (true) or opacity values (false).
| |
| getAutomaticStrokeAdjustment | back to summary |
|---|---|
| public boolean getAutomaticStrokeAdjustment() This will get the automatic stroke adjustment flag.
| |
| getBlendMode | back to summary |
|---|---|
| public BlendMode getBlendMode() Returns the blending mode stored in the COS dictionary
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. This will get the underlying dictionary that this class acts on.
| |
| getFlatnessTolerance | back to summary |
|---|---|
| public Float getFlatnessTolerance() This will get the flatness tolerance.
| |
| getFloatItem | back to summary |
|---|---|
| private Float getFloatItem(COSName key) This will get a float item from the dictionary. | |
| getFontSetting | back to summary |
|---|---|
| public PDFontSetting getFontSetting() This will get the font setting of the graphics state.
| |
| getLineCapStyle | back to summary |
|---|---|
| public int getLineCapStyle() This will get the line cap style.
| |
| getLineDashPattern | back to summary |
|---|---|
| public PDLineDashPattern getLineDashPattern() This will get the dash pattern.
| |
| getLineJoinStyle | back to summary |
|---|---|
| public int getLineJoinStyle() This will get the line join style.
| |
| getLineWidth | back to summary |
|---|---|
| public Float getLineWidth() This will get the line width. This will return null if there is no line width
| |
| getMiterLimit | back to summary |
|---|---|
| public Float getMiterLimit() This will get the miter limit.
| |
| getNonStrokingAlphaConstant | back to summary |
|---|---|
| public Float getNonStrokingAlphaConstant() This will get the non stroking alpha constant.
| |
| getNonStrokingOverprintControl | back to summary |
|---|---|
| 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.
| |
| getOverprintMode | back to summary |
|---|---|
| public Integer getOverprintMode() This will get the overprint control mode.
| |
| getRenderingIntent | back to summary |
|---|---|
| public RenderingIntent getRenderingIntent() This will get the rendering intent.
| |
| getSmoothnessTolerance | back to summary |
|---|---|
| public Float getSmoothnessTolerance() This will get the smothness tolerance.
| |
| getSoftMask | back to summary |
|---|---|
| public PDSoftMask getSoftMask() Returns the soft mask stored in the COS dictionary
| |
| getStrokingAlphaConstant | back to summary |
|---|---|
| public Float getStrokingAlphaConstant() This will get the stroking alpha constant.
| |
| getStrokingOverprintControl | back to summary |
|---|---|
| public boolean getStrokingOverprintControl() This will get the overprint control.
| |
| getTextKnockoutFlag | back to summary |
|---|---|
| public boolean getTextKnockoutFlag() /** This will get the text knockout flag.
| |
| getTransfer | back to summary |
|---|---|
| public COSBase getTransfer() This will get the transfer function of the /TR dictionary.
| |
| getTransfer2 | back to summary |
|---|---|
| public COSBase getTransfer2() This will get the transfer function of the /TR2 dictionary.
| |
| setAlphaSourceFlag | back to summary |
|---|---|
| public void setAlphaSourceFlag(boolean alpha) This will set the alpha source flag (“alpha is shape”), that specifies whether the current soft mask and alpha constant shall be interpreted as shape values (true) or opacity values (false).
| |
| setAutomaticStrokeAdjustment | back to summary |
|---|---|
| public void setAutomaticStrokeAdjustment(boolean sa) This will set the automatic stroke adjustment flag.
| |
| setBlendMode | back to summary |
|---|---|
| public void setBlendMode(BlendMode bm) Set the blending mode.
| |
| setFlatnessTolerance | back to summary |
|---|---|
| public void setFlatnessTolerance(Float flatness) This will set the flatness tolerance.
| |
| setFloatItem | back to summary |
|---|---|
| private void setFloatItem(COSName key, Float value) This will set a float object. | |
| setFontSetting | back to summary |
|---|---|
| public void setFontSetting(PDFontSetting fs) This will set the font setting for this graphics state.
| |
| setLineCapStyle | back to summary |
|---|---|
| public void setLineCapStyle(int style) This will set the line cap style for the graphics state.
| |
| setLineDashPattern | back to summary |
|---|---|
| public void setLineDashPattern(PDLineDashPattern dashPattern) This will set the dash pattern for the graphics state.
| |
| setLineJoinStyle | back to summary |
|---|---|
| public void setLineJoinStyle(int style) This will set the line join style.
| |
| setLineWidth | back to summary |
|---|---|
| public void setLineWidth(Float width) This will set the line width.
| |
| setMiterLimit | back to summary |
|---|---|
| public void setMiterLimit(Float miterLimit) This will set the miter limit for the graphics state.
| |
| setNonStrokingAlphaConstant | back to summary |
|---|---|
| public void setNonStrokingAlphaConstant(Float alpha) This will set the non stroking alpha constant.
| |
| setNonStrokingOverprintControl | back to summary |
|---|---|
| public void setNonStrokingOverprintControl(boolean op) This will set the overprint control(OP).
| |
| setOverprintMode | back to summary |
|---|---|
| public void setOverprintMode(Integer overprintMode) This will set the overprint mode(OPM).
| |
| setRenderingIntent | back to summary |
|---|---|
| public void setRenderingIntent(String ri) This will set the rendering intent for the graphics state.
| |
| setSmoothnessTolerance | back to summary |
|---|---|
| public void setSmoothnessTolerance(Float smoothness) This will set the smoothness tolerance.
| |
| setStrokingAlphaConstant | back to summary |
|---|---|
| public void setStrokingAlphaConstant(Float alpha) This will set the stroking alpha constant.
| |
| setStrokingOverprintControl | back to summary |
|---|---|
| public void setStrokingOverprintControl(boolean op) This will set the overprint control(OP).
| |
| setTextKnockoutFlag | back to summary |
|---|---|
| public void setTextKnockoutFlag(boolean tk) This will set the text knockout flag.
| |
| setTransfer | back to summary |
|---|---|
| public void setTransfer(COSBase transfer) This will set the transfer function of the /TR dictionary.
| |
| setTransfer2 | back to summary |
|---|---|
| public void setTransfer2(COSBase transfer2) This will set the transfer function of the /TR2 dictionary.
| |