ClosePath
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.font.IPathSegment
public class ClosePath implements IPathSegment
Represents ClosePath operation.
Methods
Method | Description |
---|---|
getX() | Gets coordinate x. |
getY() | Gets coordinate y. |
copy() | Creates copy of the segment object. |
shift(double dx, double dy) | Performs shift by x and y coordinates. |
transform(TransformationMatrix matrix) | Transforms coordinates with the transformation matrix. |
clone() | Creates a new object that is a copy of the current instance. |
getX()
public double getX()
Gets coordinate x.
Returns: double - Coordinate x.
getY()
public double getY()
Gets coordinate y.
Returns: double - Coordinate y.
copy()
public IPathSegment copy()
Creates copy of the segment object.
Returns: IPathSegment - Copy of the segment object.
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. |
transform(TransformationMatrix matrix)
public void transform(TransformationMatrix matrix)
Transforms coordinates with the transformation matrix.
Parameters:
Parameter | Type | Description |
---|---|---|
matrix | TransformationMatrix | Transformation transformation matrix. |
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.