iText 8.0.2 API
|
This class is designed for internal usage. More...
Public Member Functions |
|
CanvasGraphicsState (iText.Kernel.Pdf.Canvas.CanvasGraphicsState source) | |
Copy constructor. More... |
|
virtual void | UpdateFromExtGState (PdfDictionary extGState) |
Updates this object with the values from a dictionary. More... |
|
virtual Matrix | GetCtm () |
|
|
virtual void | UpdateCtm (float a, float b, float c, float d, float e, float f) |
Updates current transformation matrix. More... |
|
virtual void | UpdateCtm (Matrix newCtm) |
Updates current transformation matrix. More... |
|
virtual Color | GetFillColor () |
Gets the current fill color. More... |
|
virtual void | SetFillColor (Color fillColor) |
Sets the current fill color. More... |
|
virtual Color | GetStrokeColor () |
Gets the current stroke color. More... |
|
virtual void | SetStrokeColor (Color strokeColor) |
Sets the current stroke color. More... |
|
virtual float | GetLineWidth () |
Gets the current line width. More... |
|
virtual void | SetLineWidth (float lineWidth) |
Sets the current line width. More... |
|
virtual int | GetLineCapStyle () |
Gets the current line cap style, see ISO-320001, 8.4.3.3 Line Cap Style. More... |
|
virtual void | SetLineCapStyle (int lineCapStyle) |
Sets the current line cap style, see ISO-320001, 8.4.3.3 Line Cap Style. More... |
|
virtual int | GetLineJoinStyle () |
Gets the current line join style, see ISO-320001, 8.4.3.4 Line Join Style. More... |
|
virtual void | SetLineJoinStyle (int lineJoinStyle) |
Sets the current line join style, see ISO-320001, 8.4.3.4 Line Join Style. More... |
|
virtual float | GetMiterLimit () |
Gets the current miter limit, see ISO-320001, 8.4.3.5 Miter Limit. More... |
|
virtual void | SetMiterLimit (float miterLimit) |
Sets the current miter limit, see ISO-320001, 8.4.3.5 Miter Limit. More... |
|
virtual PdfArray | GetDashPattern () |
Gets line dash pattern value, D key, see ISO-320001, 8.4.3.6 Line Dash Pattern, iText.Kernel.Pdf.Extgstate.PdfExtGState.SetDashPattern(iText.Kernel.Pdf.PdfArray). More... |
|
virtual void | SetDashPattern (PdfArray dashPattern) |
Sets line dash pattern value, D key, see ISO-320001, 8.4.3.6 Line Dash Pattern, iText.Kernel.Pdf.Extgstate.PdfExtGState.SetDashPattern(iText.Kernel.Pdf.PdfArray). More... |
|
virtual PdfName | GetRenderingIntent () |
Gets the rendering intent, see iText.Kernel.Pdf.Extgstate.PdfExtGState.GetRenderingIntent(). More... |
|
virtual void | SetRenderingIntent (PdfName renderingIntent) |
Sets the rendering intent, see iText.Kernel.Pdf.Extgstate.PdfExtGState.GetRenderingIntent(). More... |
|
virtual float | GetFontSize () |
Gets the font size. More... |
|
virtual void | SetFontSize (float fontSize) |
Sets the font size. More... |
|
virtual PdfFont | GetFont () |
Gets the current iText.Kernel.Font.PdfFont. More... |
|
virtual void | SetFont (PdfFont font) |
Sets the current iText.Kernel.Font.PdfFont. More... |
|
virtual int | GetTextRenderingMode () |
Gets the current Text Rendering Mode, see ISO-320001, 9.3.6 Text Rendering Mode, PdfCanvas.SetTextRenderingMode(int). More... |
|
virtual void | SetTextRenderingMode (int textRenderingMode) |
Sets the current Text Rendering Mode, see ISO-320001, 9.3.6 Text Rendering Mode, PdfCanvas.SetTextRenderingMode(int). More... |
|
virtual float | GetTextRise () |
Get the current Text Rise, see ISO-320001, 9.3.7 Text Rise, PdfCanvas.SetTextRise(float). More... |
|
virtual void | SetTextRise (float textRise) |
Set the current Text Rise, see ISO-320001, 9.3.7 Text Rise PdfCanvas.SetTextRise(float). More... |
|
virtual float | GetFlatnessTolerance () |
Gets the current Flatness Tolerance, see ISO-320001, 10.6.2 Flatness Tolerance, PdfCanvas.SetFlatnessTolerance(float). More... |
|
virtual void | SetFlatnessTolerance (float flatnessTolerance) |
Sets the current Flatness Tolerance, see ISO-320001, 10.6.2 Flatness Tolerance, PdfCanvas.SetFlatnessTolerance(float). More... |
|
virtual void | SetWordSpacing (float wordSpacing) |
Sets the Word Spacing, see ISO-320001, 9.3.3 Word Spacing, PdfCanvas.SetWordSpacing(float). More... |
|
virtual float | GetWordSpacing () |
Gets the current Word Spacing, see ISO-320001, 9.3.3 Word Spacing, PdfCanvas.SetWordSpacing(float) More... |
|
virtual void | SetCharSpacing (float characterSpacing) |
Sets the Character Spacing, see ISO-320001, 9.3.2 Character Spacing, PdfCanvas.SetCharacterSpacing(float) More... |
|
virtual float | GetCharSpacing () |
Gets the current Character Spacing, see ISO-320001, 9.3.2 Character Spacing, PdfCanvas.SetCharacterSpacing(float). More... |
|
virtual float | GetLeading () |
Gets the current Leading, see ISO-320001, 9.3.5 Leading, PdfCanvas.SetLeading(float). More... |
|
virtual void | SetLeading (float leading) |
Sets the Leading, see ISO-320001, 9.3.5 Leading, PdfCanvas.SetLeading(float). More... |
|
virtual float | GetHorizontalScaling () |
Gets the current Horizontal Scaling percentage, see ISO-320001, 9.3.4 Horizontal Scaling. More... |
|
virtual void | SetHorizontalScaling (float scale) |
Sets the Horizontal Scaling percentage for text, see ISO-320001, 9.3.4 Horizontal Scaling, PdfCanvas.SetHorizontalScaling(float). More... |
|
virtual bool | GetStrokeOverprint () |
Get the Stroke Overprint flag, see ISO 32000-1, 8.6.7 Overprint Control and 11.7.4.5 Summary of Overprinting Behaviour, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetStrokeOverprintFlag(). More... |
|
virtual bool | GetFillOverprint () |
Get the Fill Overprint flag, see ISO 32000-1, 8.6.7 Overprint Control and 11.7.4.5 Summary of Overprinting Behaviour, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetFillOverprintFlag(). More... |
|
virtual int | GetOverprintMode () |
Get the Overprint Mode, see ISO 32000-1, 8.6.7 Overprint Control and 11.7.4.5 Summary of Overprinting Behaviour, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetOverprintMode(). More... |
|
virtual PdfObject | GetBlackGenerationFunction () |
Gets the current Black-generation function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetBlackGenerationFunction(). More... |
|
virtual PdfObject | GetBlackGenerationFunction2 () |
Gets the current overruling Black-generation function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetBlackGenerationFunction2(). More... |
|
virtual PdfObject | GetUnderColorRemovalFunction () |
Gets the current Undercolor-removal function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary iText.Kernel.Pdf.Extgstate.PdfExtGState.GetUndercolorRemovalFunction(). More... |
|
virtual PdfObject | GetUnderColorRemovalFunction2 () |
Gets the current overruling Undercolor-removal function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetUndercolorRemovalFunction2(). More... |
|
virtual PdfObject | GetTransferFunction () |
Gets the current Transfer function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetTransferFunction(). More... |
|
virtual PdfObject | GetTransferFunction2 () |
Gets the current overruling transer function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetTransferFunction2(). More... |
|
virtual PdfObject | GetHalftone () |
Gets the current halftone , see ISO32000-1, 10.5 Halftones and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetHalftone(). More... |
|
virtual ? float | GetSmoothnessTolerance () |
Gets the current Smoothness Tolerance, see ISO32000-1, 10.6.3 Smoothness Tolerance and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetSmothnessTolerance(). More... |
|
virtual bool | GetAutomaticStrokeAdjustment () |
Gets the current Apply Automatic Stroke Adjustment flag, see ISO 32000-1, 10.6.5 Automatic Stroke Adjustment, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetAutomaticStrokeAdjustmentFlag(). More... |
|
virtual PdfObject | GetBlendMode () |
Gets the current Blend Mode, see ISO 32000-1, 11.3.5 Blend Mode and 11.6.3 Specifying Blending Colour Space and Blend Mode, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetBlendMode(). More... |
|
virtual PdfObject | GetSoftMask () |
Gets the current Soft Mask, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity, 11.6.4.3 Mask Shape and Opacity and 11.6.5.2 Soft-Mask Dictionaries, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetSoftMask(). More... |
|
virtual float | GetStrokeOpacity () |
Gets the current Stroke Opacity value, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity and 11.6.4.4 Constant Shape and Opacity, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetStrokeOpacity(). More... |
|
virtual float | GetFillOpacity () |
Gets the current Fill Opacity value, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity and 11.6.4.4 Constant Shape and Opacity, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetFillOpacity(). More... |
|
virtual bool | GetAlphaIsShape () |
Gets the current Alpha is shape flag, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity and 11.6.4.3 Mask Shape and Opacity, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetAlphaSourceFlag() More... |
|
virtual bool | GetTextKnockout () |
Gets the current Text Knockout flag, see ISO 32000-1, 9.3.8 Text Knockout, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetTextKnockoutFlag(). More... |
|
virtual PdfObject | GetHTP () |
Gets the current Halftone Phase, see Portable Document Format Reference Manual Version 1.2, 7.12 Extended graphics states and PostScript Language Reference Manual, Second Edition, 7.3.3, Halftone Phase. More... |
|
virtual void | UpdateFromExtGState (PdfExtGState extGState) |
Updates current graphic state with values from extended graphic state dictionary. More... |
|
This class is designed for internal usage.
This class is designed for internal usage.
Use PdfExtGState
class and PdfCanvas::setExtGState()
method for setting extended graphics properties.
|
inline |
Copy constructor.
source | the Graphics State to copy from |
|
inlinevirtual |
Gets the current Alpha is shape flag, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity and 11.6.4.3 Mask Shape and Opacity, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetAlphaSourceFlag()
|
inlinevirtual |
Gets the current Apply Automatic Stroke Adjustment flag, see ISO 32000-1, 10.6.5 Automatic Stroke Adjustment, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetAutomaticStrokeAdjustmentFlag().
|
inlinevirtual |
Gets the current Black-generation function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetBlackGenerationFunction().
|
inlinevirtual |
Gets the current overruling Black-generation function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetBlackGenerationFunction2().
|
inlinevirtual |
Gets the current Blend Mode, see ISO 32000-1, 11.3.5 Blend Mode and 11.6.3 Specifying Blending Colour Space and Blend Mode, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetBlendMode().
|
inlinevirtual |
Gets the current Character Spacing, see ISO-320001, 9.3.2 Character Spacing, PdfCanvas.SetCharacterSpacing(float).
|
inlinevirtual |
Gets line dash pattern value, D
key, see ISO-320001, 8.4.3.6 Line Dash Pattern, iText.Kernel.Pdf.Extgstate.PdfExtGState.SetDashPattern(iText.Kernel.Pdf.PdfArray).
PdfArray
, that represents line dash pattern.
|
inlinevirtual |
Gets the current fill color.
|
inlinevirtual |
Gets the current Fill Opacity value, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity and 11.6.4.4 Constant Shape and Opacity, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetFillOpacity().
|
inlinevirtual |
Get the Fill Overprint flag, see ISO 32000-1, 8.6.7 Overprint Control and 11.7.4.5 Summary of Overprinting Behaviour, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetFillOverprintFlag().
|
inlinevirtual |
Gets the current Flatness Tolerance, see ISO-320001, 10.6.2 Flatness Tolerance, PdfCanvas.SetFlatnessTolerance(float).
|
inlinevirtual |
Gets the current iText.Kernel.Font.PdfFont.
|
inlinevirtual |
Gets the font size.
|
inlinevirtual |
Gets the current halftone , see ISO32000-1, 10.5 Halftones and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetHalftone().
|
inlinevirtual |
Gets the current Horizontal Scaling percentage, see ISO-320001, 9.3.4 Horizontal Scaling.
Gets the current Horizontal Scaling percentage, see ISO-320001, 9.3.4 Horizontal Scaling. PdfCanvas.SetHorizontalScaling(float).
|
inlinevirtual |
Gets the current Halftone Phase, see Portable Document Format Reference Manual Version 1.2, 7.12 Extended graphics states and PostScript Language Reference Manual, Second Edition, 7.3.3, Halftone Phase.
|
inlinevirtual |
Gets the current Leading, see ISO-320001, 9.3.5 Leading, PdfCanvas.SetLeading(float).
|
inlinevirtual |
Gets the current line cap style, see ISO-320001, 8.4.3.3 Line Cap Style.
for more info.
|
inlinevirtual |
Gets the current line join style, see ISO-320001, 8.4.3.4 Line Join Style.
for more info.
|
inlinevirtual |
Gets the current line width.
|
inlinevirtual |
Gets the current miter limit, see ISO-320001, 8.4.3.5 Miter Limit.
for more info.
|
inlinevirtual |
Get the Overprint Mode, see ISO 32000-1, 8.6.7 Overprint Control and 11.7.4.5 Summary of Overprinting Behaviour, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetOverprintMode().
|
inlinevirtual |
Gets the rendering intent, see iText.Kernel.Pdf.Extgstate.PdfExtGState.GetRenderingIntent().
|
inlinevirtual |
Gets the current Smoothness Tolerance, see ISO32000-1, 10.6.3 Smoothness Tolerance and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetSmothnessTolerance().
|
inlinevirtual |
Gets the current Soft Mask, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity, 11.6.4.3 Mask Shape and Opacity and 11.6.5.2 Soft-Mask Dictionaries, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetSoftMask().
|
inlinevirtual |
Gets the current stroke color.
|
inlinevirtual |
Gets the current Stroke Opacity value, see ISO 32000-1, 11.3.7.2 Source Shape and Opacity and 11.6.4.4 Constant Shape and Opacity, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetStrokeOpacity().
|
inlinevirtual |
Get the Stroke Overprint flag, see ISO 32000-1, 8.6.7 Overprint Control and 11.7.4.5 Summary of Overprinting Behaviour, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetStrokeOverprintFlag().
|
inlinevirtual |
Gets the current Text Knockout flag, see ISO 32000-1, 9.3.8 Text Knockout, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetTextKnockoutFlag().
|
inlinevirtual |
Gets the current Text Rendering Mode, see ISO-320001, 9.3.6 Text Rendering Mode, PdfCanvas.SetTextRenderingMode(int).
|
inlinevirtual |
Get the current Text Rise, see ISO-320001, 9.3.7 Text Rise, PdfCanvas.SetTextRise(float).
|
inlinevirtual |
Gets the current Transfer function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetTransferFunction().
|
inlinevirtual |
Gets the current overruling transer function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetTransferFunction2().
|
inlinevirtual |
Gets the current Undercolor-removal function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary iText.Kernel.Pdf.Extgstate.PdfExtGState.GetUndercolorRemovalFunction().
|
inlinevirtual |
Gets the current overruling Undercolor-removal function, see ISO32000-1, 11.7.5.3 Rendering Intent and Colour Conversions and Table 58 – Entries in a Graphics State Parameter Dictionary, iText.Kernel.Pdf.Extgstate.PdfExtGState.GetUndercolorRemovalFunction2().
|
inlinevirtual |
Gets the current Word Spacing, see ISO-320001, 9.3.3 Word Spacing, PdfCanvas.SetWordSpacing(float)
|
inlinevirtual |
Sets the Character Spacing, see ISO-320001, 9.3.2 Character Spacing, PdfCanvas.SetCharacterSpacing(float)
characterSpacing | The new character spacing value. |
|
inlinevirtual |
Sets line dash pattern value, D
key, see ISO-320001, 8.4.3.6 Line Dash Pattern, iText.Kernel.Pdf.Extgstate.PdfExtGState.SetDashPattern(iText.Kernel.Pdf.PdfArray).
dashPattern | a PdfArray , that represents line dash pattern. |
|
inlinevirtual |
Sets the current fill color.
fillColor | The new fill color. |
|
inlinevirtual |
Sets the current Flatness Tolerance, see ISO-320001, 10.6.2 Flatness Tolerance, PdfCanvas.SetFlatnessTolerance(float).
flatnessTolerance | The new flatness tolerance value. |
|
inlinevirtual |
Sets the current iText.Kernel.Font.PdfFont.
font | The new iText.Kernel.Font.PdfFont. |
|
inlinevirtual |
Sets the font size.
fontSize | The new font size. |
|
inlinevirtual |
Sets the Horizontal Scaling percentage for text, see ISO-320001, 9.3.4 Horizontal Scaling, PdfCanvas.SetHorizontalScaling(float).
scale | The new horizontal scaling factor. |
|
inlinevirtual |
Sets the Leading, see ISO-320001, 9.3.5 Leading, PdfCanvas.SetLeading(float).
leading | The new leading value. |
|
inlinevirtual |
Sets the current line cap style, see ISO-320001, 8.4.3.3 Line Cap Style.
lineCapStyle | The new cap style value. |
for more info.
|
inlinevirtual |
Sets the current line join style, see ISO-320001, 8.4.3.4 Line Join Style.
lineJoinStyle | The new line join style value. |
for more info.
|
inlinevirtual |
Sets the current line width.
lineWidth | The new line width. |
|
inlinevirtual |
Sets the current miter limit, see ISO-320001, 8.4.3.5 Miter Limit.
miterLimit | The new miter limit value. |
for more info.
|
inlinevirtual |
Sets the rendering intent, see iText.Kernel.Pdf.Extgstate.PdfExtGState.GetRenderingIntent().
renderingIntent | the rendering intent name. |
|
inlinevirtual |
Sets the current stroke color.
strokeColor | The new stroke color. |
|
inlinevirtual |
Sets the current Text Rendering Mode, see ISO-320001, 9.3.6 Text Rendering Mode, PdfCanvas.SetTextRenderingMode(int).
textRenderingMode | The new text rendering mode. |
|
inlinevirtual |
Set the current Text Rise, see ISO-320001, 9.3.7 Text Rise PdfCanvas.SetTextRise(float).
textRise | The new text rise value. |
|
inlinevirtual |
Sets the Word Spacing, see ISO-320001, 9.3.3 Word Spacing, PdfCanvas.SetWordSpacing(float).
wordSpacing | The new word spacing value. |
|
inlinevirtual |
Updates current transformation matrix.
Updates current transformation matrix. The third column will always be [0 0 1]
a | element at (1,1) of the transformation matrix |
b | element at (1,2) of the transformation matrix |
c | element at (2,1) of the transformation matrix |
d | element at (2,2) of the transformation matrix |
e | element at (3,1) of the transformation matrix |
f | element at (3,2) of the transformation matrix |
|
inlinevirtual |
Updates current transformation matrix.
newCtm | new current transformation matrix. |
Reimplemented in iText.Kernel.Pdf.Canvas.Parser.ParserGraphicsState.
|
inlinevirtual |
Updates this object with the values from a dictionary.
extGState | the dictionary containing source parameters |
|
inlinevirtual |
Updates current graphic state with values from extended graphic state dictionary.
extGState | the wrapper around the extended graphic state dictionary |