new CutByImage( imageSource )

Description

Trims pixels according to the transparency levels of a given overlay image. Wherever the overlay image is transparent, the original is shown, and wherever the overlay is opaque, the resulting image is transparent.

Parameters
Name Type Description
imageSource Qualifiers.Source.ImageSource
Details

Visit Reshape for examples

Methods


position( position ) → {this}

Description

Defines the position of the layer.

Parameters
Name Type Description
position Qualifiers.Position

The position of the overlay with respect to the base image.

Returns

getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

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

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