Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 797 Bytes

File metadata and controls

40 lines (23 loc) · 797 Bytes

document.getTaggedSwatches()

Availability

Animate 2020.

Usage

document.getTaggedSwatches([palette:int ])

Parameters

palette:It is an integer that specifies the index of the tagged swatch palette,it is optional.Default value is 0.

Returns

Array of tagged swatches.

Description

Method;It returns array of tagged swatch objects. swatch object has two property,
fill object

— name

Example

The following example returns the array of tagged swatches.

var document = fl.getDocumentDOM();
var swatchArr = document.getTaggedSwatches();

See also

document.getTaggedSwatchByName() document.getTaggedSwatchesPaletteList()