DuAEF.DuAE.Shape

Shape Layers methods

Methods

static getTransformMatrix(prop) → {Matrix}

Gets the transformation matrix for all the parent groups of a given property
Parameters:
Name Type Description
prop Property | PropertyInfo The property
Returns:
Matrix - The transformation 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
Returns:
bool - True if the layer is a shape layer containing only one shape, one fill, and one stroke in a group. False otherwise.