Show / Hide Table of Contents

Enum PathData.PathSegmentType

Enumaration used to indicate operator type.

Namespace: pdftron.PDF
Assembly: PDFNet.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

In This Article
Back to top Generated by DocFX