Adobe Illustrator CS6 Type Library JS: Swatch

Illustrator CS6

Class

Swatch

 A color swatch.

QuickLinks

remove, removeAll

Hierarchy

Object
Swatch

Properties

PropertyTypeAccessDescription
colorColor r/wThe color information of the swatch.
namestring r/wThe swatch's name.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

void remove ()
Deletes this object.

void removeAll ()
Deletes all elements.

Used in:

void SwatchGroup.addSwatch (swatch: Swatch)

Return

Array of Swatch SwatchGroup.getAllSwatches ()

Swatch Swatches.add ()

Swatch Swatches.getByName (name: string)

Array of Swatch Swatches.getSelected ()

Jongware, 25-Nov-2012 v3.0.3iContents :: Index