## DuAEShapeLayer

Shape Layer methods

View Source DuAEF_Duik_api.jsxinc, line 30289

# Members

Type: `int`

#### # static Primitive

A List of primitive shapes

##### Properties:

Name | Type | Description
--- | --- | ---
`NONE` | `int` |
`CIRCLE` | `int` |
`SQUARE` | `int` |
`ROUNDED_SQUARE` | `int` |
`POLYGON` | `int` |
`STAR` | `int` |

View Source DuAEF_Duik_api.jsxinc, line 30295

# Methods

#### # static getTransformMatrix(prop) → {Matrix}

Gets the transformation matrix for all the parent groups of a given property

##### Parameters:

Name | Type | Description
--- | --- | ---
`prop` | `Property` | `DuAEProperty` | The property

View Source DuAEF_Duik_api.jsxinc, line 30309

Returns:
The transformation matrix.
Type: `Matrix`

#### # static isSingleShape(layer) → {bool}

Checks if this shape layers contains only one shape, one fill, and one stroke,\n just like After Effects creates them at first.

##### Parameters:

Name | Type | Description
--- | --- | ---
`layer` | `Layer` | The layer to test

View Source DuAEF_Duik_api.jsxinc, line 30344

Returns:
True if the layer is a shape layer containing only one shape, one fill, and one stroke in a group. False otherwise.
Type: `bool`