new TextSource()

Description

Defines how to manipulate a text layer

Methods


<protected> encodeAssetPublicID()

Description

Utility function to encode an asset publicID in an overlay

Examples

			encodeAssetPublicID('foo/bar'); // -> foo:bar

transformation( t ) → {this}

Description

Apply a transformation on the image source of the layer

Parameters
Name Type Description
t SDK.ImageTransformation

An image transformation to apply to the layer

Returns

getTransformation() → {SDK.Transformation}

Description

Returns the Transformation of the source


getOpenSourceString() → {string}

Description

Returns the opening string of the layer, This method is used internally within LayerAction

Returns