iText 8.0.2 API
|
Contains information relating to painting current path. More...
Public Member Functions |
|
PathRenderInfo (Stack< CanvasTag > canvasTagHierarchy, CanvasGraphicsState gs, Path path, int operation, int rule, bool isClip, int clipRule) | |
Creates the new PathRenderInfo instance. More... |
|
PathRenderInfo (Stack< CanvasTag > canvasTagHierarchy, CanvasGraphicsState gs, Path path, int operation) | |
If the operation is NO_OP then the rule is ignored, otherwise iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING is used by default. More... |
|
virtual Path | GetPath () |
Gets the iText.Kernel.Geom.Path to be rendered More... |
|
virtual int | GetOperation () |
Gets the int value which is either NO_OP or one of possible combinations of STROKE and FILL. More... |
|
virtual int | GetRule () |
Gets either iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING or iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.EVEN_ODD. More... |
|
virtual bool | IsPathModifiesClippingPath () |
Gets the clipping path flag. More... |
|
virtual int | GetClippingRule () |
Gets either iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING or iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.EVEN_ODD. More... |
|
virtual Matrix | GetCtm () |
Gets the current transformation matrix. More... |
|
virtual float | GetLineWidth () |
Gets the path's line width. More... |
|
virtual int | GetLineCapStyle () |
Gets the line cap style. More... |
|
virtual int | GetLineJoinStyle () |
Gets the line join style. More... |
|
virtual float | GetMiterLimit () |
Gets the miter limit. More... |
|
virtual PdfArray | GetLineDashPattern () |
Gets the path's dash pattern. More... |
|
virtual Color | GetStrokeColor () |
Gets the path's stroke color. More... |
|
virtual Color | GetFillColor () |
Gets the path's fill color. More... |
|
virtual IList< CanvasTag > | GetCanvasTagHierarchy () |
Gets hierarchy of the canvas tags that wraps given text. More... |
|
virtual int | GetMcid () |
Gets the marked-content identifier associated with this PathRenderInfo instance More... |
|
virtual bool | HasMcid (int mcid) |
Checks if the text belongs to a marked content sequence with a given mcid. More... |
|
virtual bool | HasMcid (int mcid, bool checkTheTopmostLevelOnly) |
Checks if the text belongs to a marked content sequence with a given mcid. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.Canvas.Parser.Data.AbstractRenderInfo | |
AbstractRenderInfo (CanvasGraphicsState gs) | |
virtual CanvasGraphicsState | GetGraphicsState () |
virtual bool | IsGraphicsStatePreserved () |
virtual void | PreserveGraphicsState () |
virtual void | ReleaseGraphicsState () |
Static Public Attributes |
|
const int | NO_OP = 0 |
End the path object without filling or stroking it. More... |
|
const int | STROKE = 1 |
Value specifying stroke operation to perform on the current path. More... |
|
const int | FILL = 2 |
Value specifying fill operation to perform on the current path. More... |
|
Contains information relating to painting current path.
|
inline |
Creates the new PathRenderInfo instance.
canvasTagHierarchy | the canvas tag hierarchy |
gs | the graphics state |
path | the path to be rendered |
operation | one of the possible combinations of STROKE and FILL values or NO_OP |
rule | either iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING or iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.EVEN_ODD |
isClip |
true
indicates that current path modifies the clipping path
|
inline |
If the operation is NO_OP then the rule is ignored, otherwise iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING is used by default.
If the operation is NO_OP then the rule is ignored, otherwise iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING is used by default. With this constructor path is considered as not modifying clipping path.
See PathRenderInfo(System.Collections.Generic.Stack
|
inlinevirtual |
Gets hierarchy of the canvas tags that wraps given text.
|
inlinevirtual |
Gets either iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING or iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.EVEN_ODD.
|
inlinevirtual |
Gets the current transformation matrix.
|
inlinevirtual |
Gets the path's fill color.
|
inlinevirtual |
Gets the line cap style.
Gets the line cap style. See iText.Kernel.Pdf.Canvas.PdfCanvasConstants.LineCapStyle.
|
inlinevirtual |
Gets the path's dash pattern.
|
inlinevirtual |
Gets the line join style.
Gets the line join style. See iText.Kernel.Pdf.Canvas.PdfCanvasConstants.LineJoinStyle.
|
inlinevirtual |
Gets the path's line width.
|
inlinevirtual |
Gets the marked-content identifier associated with this PathRenderInfo instance
|
inlinevirtual |
Gets the miter limit.
|
inlinevirtual |
|
inlinevirtual |
Gets the iText.Kernel.Geom.Path to be rendered
|
inlinevirtual |
Gets either iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.NONZERO_WINDING or iText.Kernel.Pdf.Canvas.PdfCanvasConstants.FillingRule.EVEN_ODD.
|
inlinevirtual |
Gets the path's stroke color.
|
inlinevirtual |
Checks if the text belongs to a marked content sequence with a given mcid.
mcid | a marked content id |
true
if the text is marked with this id
|
inlinevirtual |
Checks if the text belongs to a marked content sequence with a given mcid.
mcid | a marked content id |
checkTheTopmostLevelOnly | indicates whether to check the topmost level of marked content stack only |
true
if the text is marked with this id
|
inlinevirtual |
Gets the clipping path flag.
true
indicates that current path modifies the clipping path
|
static |
Value specifying fill operation to perform on the current path.
Value specifying fill operation to perform on the current path. When the fill operation is performed it should use either nonzero winding or even-odd rule.
|
static |
End the path object without filling or stroking it.
End the path object without filling or stroking it. This operator shall be a path-painting no-op, used primarily for the side effect of changing the current clipping path
|
static |
Value specifying stroke operation to perform on the current path.