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_DuGR_api.jsxinc, line 29908

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_DuGR_api.jsxinc, line 29922

The transformation matrix.
Matrix

# static isSingleShape(layer) → {bool}

Checks if this shape layers contains only one shape, one fill, and one stroke,\njust like After Effects creates them at first.
Parameters:
Name Type Description
layer Layer The layer to test

View Source DuAEF_DuGR_api.jsxinc, line 29957

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