AffineTransform

A 3x3 matrix used to transform source coordinates (x1, y1) into destination coordinates (x2, y2)
according to matrix multiplication:

```text
[ x2 ]   [ scaleX shearX translateX ] [ x1 ]
[ y2 ] = [ shearY scaleY translateY ] [ y1 ]
[ 1  ]   [   0      0        1      ] [ 1  ]
```

After transformation,

```text
x2 = scaleX * x1 + shearX * y1 + translateX;
y2 = scaleY * y1 + shearY * x1 + translateY;
```

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/slides/affine-transform#getScaleX()` | `Number` | Gets the X coordinate scaling element. |
| `https://developers.google.com/apps-script/reference/slides/affine-transform#getScaleY()` | `Number` | Gets the Y coordinate scaling element. |
| `https://developers.google.com/apps-script/reference/slides/affine-transform#getShearX()` | `Number` | Gets the X coordinate shearing element. |
| `https://developers.google.com/apps-script/reference/slides/affine-transform#getShearY()` | `Number` | Gets the Y coordinate shearing element. |
| `https://developers.google.com/apps-script/reference/slides/affine-transform#getTranslateX()` | `Number` | Gets the X coordinate translation element in points. |
| `https://developers.google.com/apps-script/reference/slides/affine-transform#getTranslateY()` | `Number` | Gets the Y coordinate translation element in points. |
| `https://developers.google.com/apps-script/reference/slides/affine-transform#toBuilder()` | `https://developers.google.com/apps-script/reference/slides/affine-transform-builder` | Returns a new `https://developers.google.com/apps-script/reference/slides/affine-transform-builder` based on this transform. |

## Detailed documentation

### `getScaleX()`

Gets the X coordinate scaling element.

#### Return


`Number`

*** ** * ** ***

### `getScaleY()`

Gets the Y coordinate scaling element.

#### Return


`Number`

*** ** * ** ***

### `getShearX()`

Gets the X coordinate shearing element.

#### Return


`Number`

*** ** * ** ***

### `getShearY()`

Gets the Y coordinate shearing element.

#### Return


`Number`

*** ** * ** ***

### `getTranslateX()`

Gets the X coordinate translation element in points.

#### Return


`Number`

*** ** * ** ***

### `getTranslateY()`

Gets the Y coordinate translation element in points.

#### Return


`Number`

*** ** * ** ***

### `toBuilder()`

Returns a new `https://developers.google.com/apps-script/reference/slides/affine-transform-builder` based on this transform.

#### Return


`https://developers.google.com/apps-script/reference/slides/affine-transform-builder` --- A builder for `https://developers.google.com/apps-script/reference/slides/affine-transform#`.