Show / Hide Table of Contents

# Enum PathData.PathSegmentType

Enumaration used to indicate operator type.

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public enum PathData.PathSegmentType

### Fields

Name | Description
--- | ---
e_closepath | Close the current subpath by drawing a straight line from the current point to current subpath's initial point. Number of arguments: 0
e_conicto | A quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point. Note that e_conicto does not appear in PDF content streams. This operator is only used to represent glyph outlines (e.g. PDF::Font::GetGlyphPath() may return a path containing e_conicto operator). Number of arguments: 4
e_cubicto | A cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve. Number of arguments: 6
e_lineto | A line from the current point to the given (x,y) coordinate which becomes the new current point. Number of arguments: 2
e_moveto | Start a new sub-path at the given (x,y) coordinate. Number of arguments: 2
e_rect | A rectangle at the given (x,y) coordinate and the given width and height (w, h). Number of arguments: 4