Skip to content

# PDFPathItem

Namespace: O2S.Components.PDF4NET.Content

Defines an item in a PDFPathVisualObject.

    public class PDFPathItem

Inheritance Object → PDFPathItem

## Properties

### Points

Gets the item points.

    public PDFPoint[] Points { get; internal set; }

Property Value

PDFPoint[]
An array of point associated with the path item.

Remarks

The number of points in the array depends on the item type. MoveTo and LineTo types have a single point, CCurveTo has 3 points, VCurveTo and YVCurveTo have 2 pointsand the CloseSubpath has no points (the array is null).

### Type

Gets the type of the path item.

    public PDFPathItemType Type { get; }

Property Value

PDFPathItemType
A PDFPathItemType specifying the type of the path item.

## Methods

### ToString()

Returns a String that represents the current Object.

    public string ToString()

Returns

String
String that represents the current Object.