public class CurveTo extends Object implements IPathSegment
Represents CurveTo 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 |
getX1()
Gets coordinate x1.
|
double |
getX2()
Gets coordinate x2.
|
double |
getX3()
Gets coordinate x3.
|
double |
getY1()
Gets coordinate y1.
|
double |
getY2()
Gets coordinate y2.
|
double |
getY3()
Gets coordinate y3.
|
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 getX1()
Gets coordinate x1.
public double getY1()
Gets coordinate y1.
public double getX2()
Gets coordinate x2.
public double getY2()
Gets coordinate y2.
public double getX3()
Gets coordinate x3.
public double getY3()
Gets coordinate y3.
public IPathSegment copy()
Creates copy of the segment object.
copy
in interface IPathSegment
public void shift(double dx, double dy)
Performs shift by x and y coordinates.
shift
in interface IPathSegment
dx
- Value dx.dy
- Value dy.public void transform(TransformationMatrix matrix)
Transforms coordinates with the transformation matrix.
transform
in interface IPathSegment
matrix
- Transformation matrix.