Click or drag to resize

CustomPath Class

Represents a series of connected lines and curves.
Inheritance Hierarchy
SystemObject
  SautinSoft.Document.DrawingCustomPath

Namespace: SautinSoft.Document.Drawing
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.3.11
Syntax
public sealed class CustomPath : IEnumerable<PathElement>, 
	IEnumerable

The CustomPath type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of elements contained in this path.
Public propertyFillMode Specifies how the path should be filled.
Public propertyItem Gets the PathElement at the specified index.
Public propertySize Gets path size, or maximum X and Y coordinates that should be used for within the path coordinate system.
Public propertyStroke Specifies if the corresponding path should have a path stroke shown.
Top
Methods
 NameDescription
Public methodAddArc Draws an arc with the specified parameters from the current pen position.
Public methodAddCubicBezier Draws a cubic bezier curve along the specified points.
Public methodAddLine Draws a straight line from the current pen position to the new specified point.
Public methodAddQuadBezier Draws a quadratic bezier curve along the specified points.
Public methodClosePath Closes the current path.
Public methodGetEnumerator Gets an enumerator that iterates through the path.
Public methodMoveTo Moves the current pen position to the new specified point.
Public methodReset Removes all elements from this path.
Top
See Also