Adobe Illustrator CS4 Type Library JS: Swatch

Illustrator CS4

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.[] (index: uint)

Swatch Swatches.add ()

Swatch Swatches.getByName (name: string)

Array of Swatch Swatches.getSelected ()

Jongware, 27-Jun-2010 v3.0.3dContents :: Index