new BaseSource()

Description

An abstract class extended by all Source objects

Details

QualifierModel

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