# MatrixCreationDict

Simple object passed to create2DMatrix to initialize a matrix.

Availability
0.8
0.8
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Overview

The matrix is initialized with the specified transforms.

On iOS, rotation is always performed first, regardless of the order the properties are specified in.

On Android, specifying both scale and rotate the same dictionary results in an incorrect transformation.

# Properties

# anchorPoint

Availability
0.8
anchorPoint :Point

Point to rotate around, specified as a dictionary object with x and y properties, where { x: 0.5, y: 0.5 } represents the center of whatever is being rotated.

Default: (0.5, 0.5)


# rotate

Availability
0.8
0.8
9.2.0
rotate :Number

Rotation angle, in degrees. See the rotate method for a discussion of rotation.

Default: No rotation.


# scale

Availability
0.8
0.8
9.2.0
scale :Number

Scale the matrix by the specified scaling factor. The same scaling factor is used for both horizontal and vertical scaling.

Default: 1