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