LineTo
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.font.IPathSegment
public class LineTo implements IPathSegment
Represents LineTo operation.
Methods
Method | Description |
---|---|
clone() | Creates a new object that is a copy of the current instance. |
copy() | Creates copy of the segment object. |
equals(Object arg0) | |
getClass() | |
getX() | Gets coordinate x. |
getY() | Gets coordinate y. |
hashCode() | |
notify() | |
notifyAll() | |
shift(double dx, double dy) | Performs shift by x and y coordinates. |
toString() | |
transform(TransformationMatrix matrix) | Transforms coordinates with the transformation matrix. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
clone()
public Object clone()
Creates a new object that is a copy of the current instance.
Returns: java.lang.Object - A new object that is a copy of this instance.
copy()
public IPathSegment copy()
Creates copy of the segment object.
Returns: IPathSegment - Copy of the segment object.
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
getX()
public double getX()
Gets coordinate x.
Returns: double - Coordinate x.
getY()
public double getY()
Gets coordinate y.
Returns: double - Coordinate y.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
shift(double dx, double dy)
public void shift(double dx, double dy)
Performs shift by x and y coordinates.
Parameters:
Parameter | Type | Description |
---|---|---|
dx | double | Value dx. |
dy | double | Value dy. |
toString()
public String toString()
Returns: java.lang.String
transform(TransformationMatrix matrix)
public void transform(TransformationMatrix matrix)
Transforms coordinates with the transformation matrix.
Parameters:
Parameter | Type | Description |
---|---|---|
matrix | TransformationMatrix | Transformation matrix. |
wait()
public final void wait()
wait(long arg0)
public final native 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 |