Packages

 

com.aspose.imaging.shapesegments

Class BezierSegment



  • public final class BezierSegment
    extends LineSegment

    The bezier segment going from one point to the next point and using two control points.

    • Constructor Detail

      • BezierSegment

        public BezierSegment(PointF startPoint,
                             PointF firstControlPoint,
                             PointF secondControlPoint,
                             PointF endPoint)

        Initializes a new instance of the BezierSegment class.

        Parameters:
        startPoint - The start point.
        firstControlPoint - The first control point.
        secondControlPoint - The second control point.
        endPoint - The end point.
    • Method Detail

      • getFirstControlPoint

        public PointF getFirstControlPoint()

        Gets the first control point of a bezier spline.

        Returns:
        The first control point.
      • getSecondControlPoint

        public PointF getSecondControlPoint()

        Gets the second control point of a bezier spline.

        Returns:
        The second control point.