Class BezierSegment
- Namespace
- Aspose.Imaging.ShapeSegments
- Assembly
- Aspose.Imaging.dll
The bezier segment going from one point to the next point and using two control points.
public sealed class BezierSegment : LineSegment
- Inheritance
-
BezierSegment
- Inherited Members
Constructors
BezierSegment(PointF, PointF, PointF, PointF)
Initializes a new instance of the BezierSegment class.
public BezierSegment(PointF startPoint, PointF firstControlPoint, PointF secondControlPoint, PointF endPoint)
Parameters
startPoint
PointFThe start point.
firstControlPoint
PointFThe first control point.
secondControlPoint
PointFThe second control point.
endPoint
PointFThe end point.
Properties
FirstControlPoint
Gets the first control point of a bezier spline.
public PointF FirstControlPoint { get; }
Property Value
- PointF
The first control point.
SecondControlPoint
Gets the second control point of a bezier spline.
public PointF SecondControlPoint { get; }
Property Value
- PointF
The second control point.
Methods
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe other object.
Returns
- bool
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
- int
The hash code.