LineSegment
Contents
[
Hide
]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
Constructor | Description |
---|---|
LineSegment(PointF startPoint, PointF endPoint) | Initializes a new instance of the LineSegment class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
startPoint | PointF | The start point. |
endPoint | PointF | The end point. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |