Namespace

DuAEShapeLayer

DuAEShapeLayer

Members

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_DuSan_api.jsxinc, line 28663

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_DuSan_api.jsxinc, line 28677

The transformation matrix.
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_DuSan_api.jsxinc, line 28712

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