Class PathElement
- Namespace
- EvoPdf
- Assembly
- evohtmltopdf.dll
Represents a graphic path element to be rendered in a PDF document
[ClassInterface(ClassInterfaceType.AutoDual)]
public class PathElement : PageGraphicElement
- Inheritance
-
PathElement
- Inherited Members
Constructors
PathElement(PointF)
Creates a graphic path element
public PathElement(PointF startPoint)
Parameters
startPoint
PointFThe path start point
Properties
ClosePath
A flag indicating if the path should be automatically closed. By default this property is false and the path is not closed
public bool ClosePath { get; set; }
Property Value
Methods
AddBezierCurveSegment(PointF, PointF, PointF)
Adds a Bezier curve to path
public void AddBezierCurveSegment(PointF startPoint, PointF directionPoint, PointF endPoint)
Parameters
startPoint
PointFThe Bezier curve segment start point
directionPoint
PointFThe Bezier curve segment direction point
endPoint
PointFThe Bezier curve segment end point
AddLineSegment(PointF)
Adds a line to path
public void AddLineSegment(PointF endPoint)
Parameters
endPoint
PointFThe line end point
Move(float, float)
Move the entire path element to given location
public void Move(float x, float y)