Swatch

A color swatch.

Methods:

remove, removeAll

Objects:

Color, String

Property Listing

Property

Type

Access

Description

color

Color

read/write

The color information of the swatch.

name

String

read/write

The swatch's name.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

undefined remove ()

Deletes this object.

undefined removeAll ()

Deletes all elements.

Return

Swatches.add()

SwatchGroup.getAllSwatches()

Swatches.getSelected()

Swatches.getByName()