LineSegment

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

public class LineSegment extends ShapeSegment

Represents a segment leading derectly from a specific point to the next point.

Constructors

ConstructorDescription
LineSegment(PointF startPoint, PointF endPoint)Initializes a new instance of the LineSegment class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getEndPoint()Gets the ending point.
getStartPoint()Gets the starting point.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LineSegment(PointF startPoint, PointF endPoint)

public LineSegment(PointF startPoint, PointF endPoint)

Initializes a new instance of the LineSegment class.

Parameters:

ParameterTypeDescription
startPointPointFThe start 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

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