com.aspose.imaging.shapesegments
Class BezierSegment

java.lang.Object
  extended by com.aspose.imaging.ShapeSegment
      extended by com.aspose.imaging.shapesegments.LineSegment
          extended by com.aspose.imaging.shapesegments.BezierSegment

public final class BezierSegment
extends LineSegment

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


Constructor Summary
BezierSegment(PointF startPoint, PointF firstControlPoint, PointF secondControlPoint, PointF endPoint)
           Initializes a new instance of the BezierSegment class.
 
Method Summary
 PointF getFirstControlPoint()
           Gets the first control point of a bezier spline.
 PointF getSecondControlPoint()
           Gets the second control point of a bezier spline.
 
Methods inherited from class com.aspose.imaging.shapesegments.LineSegment
getEndPoint, getStartPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Value: The first control point.


getSecondControlPoint

public PointF getSecondControlPoint()

Gets the second control point of a bezier spline.

Value: The second control point.