Namespace: DuAEShapeLayer

DuAEShapeLayer

Shape Layer methods

Members

staticDuAEShapeLayer.Primitiveint

A List of primitive shapes
Properties:
Name Type Default Description
NONE int 0
CIRCLE int 1
SQUARE int 2
ROUNDED_SQUARE int 3
POLYGON int 4
STAR int 5

Methods

staticDuAEShapeLayer.getTransformMatrix(prop){Matrix}

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 28231
Gets the transformation matrix for all the parent groups of a given property
Name Type Description
prop Property | DuAEProperty The property
Returns:
Type Description
Matrix The transformation matrix.

staticDuAEShapeLayer.isSingleShape(layer){bool}

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 28266
Checks if this shape layers contains only one shape, one fill, and one stroke,\n just like After Effects creates them at first.
Name Type Description
layer Layer The layer to test
Returns:
Type Description
bool True if the layer is a shape layer containing only one shape, one fill, and one stroke in a group. False otherwise.