Skip to content

PDFPathVisualObject

Namespace: O2S.Components.PDF4NET.Content

Defines a visual object that represents a PDF path displayed on the PDF page.

public class PDFPathVisualObject : PDFVisualObject

Inheritance ObjectPDFVisualObjectPDFPathVisualObject

Properties

Brush

Gets or sets the brush.

public PDFBrush Brush { get; internal set; }

Property Value

PDFBrush
The brush used to fill the path interior.

Remarks

If the brush is null (Nothing) then the path is not filled.


CTM

Get the current transformation matrix.

public PDFMatrix CTM { get; internal set; }

Property Value

PDFMatrix
The active transformation when the object is drawn on the page.


DisplayBounds

Gets the bounds of this path in visual coordinates.

public PDFDisplayRectangle DisplayBounds { get; }

Property Value

PDFDisplayRectangle
a PDFDisplayRectangle object specifying the rectangular bounds of this path.


FillMode

Gets the fill mode.

public PDFFillMode FillMode { get; internal set; }

Property Value

PDFFillMode
The fill mode used for filling the path.

Remarks

This property has no meaning if the PDFPathVisualObject.Brush is null (path is not filled).


GraphicsState

Gets the current graphics state.

public PDFVisualObjectGraphicsState GraphicsState { get; internal set; }

Property Value

PDFVisualObjectGraphicsState
The graphics state that is in place when the visual object is displayed on the page.


IsClippingPath

Gets a value indicating whether the path is used a cliping path.

public bool IsClippingPath { get; internal set; }

Property Value

Boolean
If true, the path is used as clipping path.


MarkedContentIdentifier

Gets the marked content identifier.

public int MarkedContentIdentifier { get; internal set; }

Property Value

Int32
An integer representing the id of the marked content sequence this visual object belongs to.

Remarks

A negative value means the visual object does not belong to a marked content sequence.


OptionalContentGroup

Gets the optional content group or set this object belong to.

public PDFOptionalContentBase OptionalContentGroup { get; internal set; }

Property Value

PDFOptionalContentBase
The optional content group or sets that includes this visual object.


PathItems

Gets the path items.

public PDFPathItemCollection PathItems { get; internal set; }

Property Value

PDFPathItemCollection
A collection of path items that compose the PDF path.


Pen

Gets or sets the pen.

public PDFPen Pen { get; internal set; }

Property Value

PDFPen
The pen used to stroke the path outline.

Remarks

If the pen is null (Nothing) then the path is not stroked.


StructureElement

Gets the structure element that includes this visual object.

public PDFStructureElement StructureElement { get; }

Property Value

PDFStructureElement
A PDFStructureElement object that includes this visual object.


Type

Gets the object type.

public PDFVisualObjectType Type { get; }

Property Value

PDFVisualObjectType
The type of the visual object.


Methods

ToString()

Returns a String that represents the current Object.

public string ToString()

Returns

String
String that represents the current Object.