new DropShadow()

Description

Adds a shadow to the object in an image.

Details

Visit Effect for an example

Methods


azimuth( azimuth ) → {this}

Description

The direction the light is coming from to cause the shadow effect. (Range: 0 to 360, Server default: 215)

Parameters
Name Type Description
azimuth number
Returns

getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

elevation( elevation ) → {this}

Description

The height of the light source above the 'ground' to cause the shadow effect. (Range: 0 to 90, Server default: 45)

Parameters
Name Type Description
elevation number
Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

toString() → {string}

Description

Calls toString() on all child qualifiers (implicitly by using .join()).

Returns
Details

spread( spread ) → {this}

Description

The spread of the light source. A small number means 'point' light. A larger number means 'area' light. (Range: 0 to 100, Server default: 50)

Parameters
Name Type Description
spread number
Returns

addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns
Details