public class ClosePath extends Object implements IPathSegment
Represents ClosePath operation.
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a new object that is a copy of the current instance.
|
IPathSegment |
copy()
Creates copy of the segment object.
|
double |
getX()
Gets coordinate x.
|
double |
getY()
Gets coordinate y.
|
void |
shift(double dx,
double dy)
Performs shift by x and y coordinates.
|
void |
transform(TransformationMatrix matrix)
Transforms coordinates with the transformation matrix.
|
public double getX()
Gets coordinate x.
public double getY()
Gets coordinate y.
public IPathSegment copy()
Creates copy of the segment object.
copy in interface IPathSegmentpublic void shift(double dx,
double dy)
Performs shift by x and y coordinates.
shift in interface IPathSegmentdx - Value dx.dy - Value dy.public void transform(TransformationMatrix matrix)
Transforms coordinates with the transformation matrix.
transform in interface IPathSegmentmatrix - Transformation transformation matrix.Copyright © 2025 Aspose. All Rights Reserved.