Package | Description |
---|---|
com.yworks.yfiles.geometry |
Contains definitions, default implementations, structs and support classes that deal with the representation of geometric data.
|
Modifier and Type | Method and Description |
---|---|
Matrix2D |
Matrix2D.clone()
Clones this instance.
|
static Matrix2D |
Matrix2D.createRotateInstance(double theta)
Creates a matrix rotation instance around the origin.
|
default Matrix2D |
IOrientedRectangle.createTransform()
Creates a transformation matrix that can be used to transform points that are in the local coordinate system of the
oriented rectangle if the top-left corner is the origin.
|
static Matrix2D |
Matrix2D.fromTransform(Transform transform) |
Modifier and Type | Method and Description |
---|---|
GeneralPath |
GeneralPath.createGeneralPath(Matrix2D transform)
Creates a new
GeneralPath that is a copy of this path with all geometry transformed using the supplied matrix. |
Path |
GeneralPath.createPath(Paint brush,
Pen pen,
Matrix2D transform)
Creates a
Path instance using the provided parameters. |
boolean |
Matrix2D.equals(Matrix2D other) |
RectD |
RectD.getTransformed(Matrix2D transform)
Transforms this instance using specified transform storing the bounds in place.
|
void |
Matrix2D.multiply(Matrix2D matrix,
MatrixOrder order)
Multiplies this matrix instance by the given instance using the given order.
|
static PointD |
PointD.multiply(Matrix2D matrix,
PointD vector)
Implements the vector transformation by calling
transform(PointD) . |
void |
Matrix2D.set(Matrix2D matrix)
Sets the values of the given matrix to this instance.
|
void |
GeneralPath.transform(Matrix2D transform)
Transforms this
GeneralPath in place using the given transform. |
void |
GeneralPath.updatePath(Path path,
Paint brush,
Pen pen,
Matrix2D transform)
Updates a path instance that has been created using
GeneralPath.createPath(Paint, Pen, Matrix2D) . |