pythagoras.d

## Class Transforms

• ### Constructor Summary

Constructors
Constructor and Description
`Transforms()`
• ### Method Summary

All Methods
Modifier and Type Method and Description
`static IShape` ```createTransformedShape(Transform t, IShape src)```
Creates and returns a new shape that is the supplied shape transformed by this transform's matrix.
`static <T extends Transform>T` ```multiply(AffineTransform a, AffineTransform b, T into)```
Multiplies the supplied two affine transforms, storing the result in `into`.
`static <T extends Transform>T` ```multiply(AffineTransform a, double m00, double m01, double m10, double m11, double tx, double ty, T into)```
Multiplies the supplied two affine transforms, storing the result in `into`.
`static <T extends Transform>T` ```multiply(double m00, double m01, double m10, double m11, double tx, double ty, AffineTransform b, T into)```
Multiplies the supplied two affine transforms, storing the result in `into`.
`static <T extends Transform>T` ```multiply(double am00, double am01, double am10, double am11, double atx, double aty, double bm00, double bm01, double bm10, double bm11, double btx, double bty, T into)```
Multiplies the supplied two affine transforms, storing the result in `into`.
• ### Methods inherited from class java.lang.Object

`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Constructor Detail

• #### Transforms

`public Transforms()`
• ### Method Detail

• #### createTransformedShape

```public static IShape createTransformedShape(Transform t,
IShape src)```
Creates and returns a new shape that is the supplied shape transformed by this transform's matrix.
• #### multiply

```public static <T extends Transform> T multiply(AffineTransform a,
AffineTransform b,
T into)```
Multiplies the supplied two affine transforms, storing the result in `into`. `into` may refer to the same instance as `a` or `b`.
Returns:
`into` for chaining.
• #### multiply

```public static <T extends Transform> T multiply(AffineTransform a,
double m00,
double m01,
double m10,
double m11,
double tx,
double ty,
T into)```
Multiplies the supplied two affine transforms, storing the result in `into`. `into` may refer to the same instance as `a`.
Returns:
`into` for chaining.
• #### multiply

```public static <T extends Transform> T multiply(double m00,
double m01,
double m10,
double m11,
double tx,
double ty,
AffineTransform b,
T into)```
Multiplies the supplied two affine transforms, storing the result in `into`. `into` may refer to the same instance as `b`.
Returns:
`into` for chaining.
• #### multiply

```public static <T extends Transform> T multiply(double am00,
double am01,
double am10,
double am11,
double atx,
double aty,
double bm00,
double bm01,
double bm10,
double bm11,
double btx,
double bty,
T into)```
Multiplies the supplied two affine transforms, storing the result in `into`.
Returns:
`into` for chaining.