Path Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This class represents a drawing path structure.
Inheritance Hierarchy

SystemObject
  Apitron.PDF.Kit.FixedLayout.ContentPath

Namespace:  Apitron.PDF.Kit.FixedLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public sealed class Path

The Path type exposes the following members.

Constructors

  NameDescription
Public methodCode examplePath
Initializes a new instance of the Path class.
Public methodCode examplePath(Double, Double)
Initializes a new instance of the Path class.
Top
Properties

  NameDescription
Public propertyBoundary
Gets the boundary of the path. NOTE: The boundary is not transformed by the current transformation matrix.
Top
Methods

  NameDescription
Public methodCode exampleAppendCubicBezier(Double, Double, Double, Double)
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x3, y3) as the Bézier control points (see 8.5.2.2, "Cubic Bézier Curves"). The new current point shall be (x3, y3).
Public methodCode exampleAppendCubicBezier(Double, Double, Double, Double, Double, Double)
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x2, y2) as the Bézier control points. The new current point shall be (x3, y3).
Public methodCode exampleAppendCubicBezierUsingCurrentPoint
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using the current point and (x2, y2) as the Bézier control points. The new current point shall be (x3, y3).
Public methodCode exampleAppendLine
Append a straight line segment from the current point to the point (x, y). The new current point shall be (x, y).
Public methodAppendPath
Appends a subpath to the path.
Public methodCode exampleAppendRectangle
Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space.
Public methodCode exampleClosePath
Closes the path.
Public methodStatic memberCreateCircle
Initializes a new instance of the Path class.
Public methodStatic memberCreateEllipse
Initializes a new instance of the Path class.
Public methodStatic memberCreateHorizontalLine
Initializes a new instance of the Path class.
Public methodStatic memberCreateLine
Initializes a new instance of the Path class.
Public methodStatic memberCreateRect(Boundary, Boolean)
Initializes a new instance of the Path class.
Public methodStatic memberCreateRect(Double, Double, Double, Double, Boolean)
Initializes a new instance of the Path class.
Public methodStatic memberCreateRoundRect(Double, Double, Double, Double, Double, Boolean)
Initializes a new instance of the Path class.
Public methodStatic memberCreateRoundRect(Boundary, Double, Double, Double, Double, Boolean)
Initializes a new instance of the Path class.
Public methodStatic memberCreateRoundRect(Double, Double, Double, Double, Double, Double, Double, Double, Boolean)
Initializes a new instance of the Path class.
Public methodStatic memberCreateVerticalLine
Initializes a new instance of the HorizontalLine class.
Public methodCode exampleMoveTo
Moves the current point to specified coordinates.
Top
See Also

Reference