public final class BezierSegment extends LineSegment
The bezier segment going from one point to the next point and using two control points.
Constructor and Description |
---|
BezierSegment(PointF startPoint,
PointF firstControlPoint,
PointF secondControlPoint,
PointF endPoint)
Initializes a new instance of the
BezierSegment class. |
Modifier and Type | Method and Description |
---|---|
PointF |
getFirstControlPoint()
Gets the first control point of a bezier spline.
|
PointF |
getSecondControlPoint()
Gets the second control point of a bezier spline.
|
getEndPoint, getStartPoint
public BezierSegment(PointF startPoint, PointF firstControlPoint, PointF secondControlPoint, PointF endPoint)
Initializes a new instance of the BezierSegment
class.
startPoint
- The start point.firstControlPoint
- The first control point.secondControlPoint
- The second control point.endPoint
- The end point.