BezierSegment

Inheritance: java.lang.Object, com.aspose.psd.ShapeSegment, com.aspose.psd.shapesegments.LineSegment

public final class BezierSegment extends LineSegment

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

Constructors

ConstructorDescription
BezierSegment(PointF startPoint, PointF firstControlPoint, PointF secondControlPoint, PointF endPoint)Initializes a new instance of the BezierSegment class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getEndPoint()Gets the ending point.
getFirstControlPoint()Gets the first control point of a bezier spline.
getSecondControlPoint()Gets the second control point of a bezier spline.
getStartPoint()Gets the starting point.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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

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

Initializes a new instance of the BezierSegment class.

Parameters:

ParameterTypeDescription
startPointPointFThe start point.
firstControlPointPointFThe first control point.
secondControlPointPointFThe second control point.
endPointPointFThe end point.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEndPoint()

public PointF getEndPoint()

Gets the ending point.

Value: The ending point.

Returns: PointF

getFirstControlPoint()

public PointF getFirstControlPoint()

Gets the first control point of a bezier spline.

Returns: PointF - The first control point.

getSecondControlPoint()

public PointF getSecondControlPoint()

Gets the second control point of a bezier spline.

Returns: PointF - The second control point.

getStartPoint()

public PointF getStartPoint()

Gets the starting point.

Value: The starting point.

Returns: PointF

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int