Class BezierSegment
Path for a Bezier segment.
Inheritance
System.Object
BezierSegment
Implements
IronSoftware.Abstractions.IBezierSegment
IronSoftware.Abstractions.IPathSegment
Namespace: IronWord.Models
Assembly: IronWord.dll
Syntax
public class BezierSegment : Object, IBezierSegment, IPathSegment
Constructors
BezierSegment(PointF, Boolean, Boolean)
Create a new Bezier segment.
Declaration
public BezierSegment(PointF coordinate, bool isClose = false, bool separateFromPrevious = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.PointF | coordinate | The (x, y) coordinate of the end of the Bezier segment. |
| System.Boolean | isClose | Whether this line segment connects back to the path start or not. |
| System.Boolean | separateFromPrevious | Whether this line segment connects back to the path start or not. |
Properties
Coordinate
Coordinate of the line segment.
Declaration
public PointF Coordinate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.PointF |
IsClose
Whether this line segment connects back to the path start or not.
Declaration
public bool IsClose { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SeparateFromPrevious
Whether this line segment connects to the previous line segment or not.
Declaration
public bool SeparateFromPrevious { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Implements
IronSoftware.Abstractions.IBezierSegment
IronSoftware.Abstractions.IPathSegment