Adobe Illustrator CS6 Type Library JS: Spot

Illustrator CS6

Class

Spot

 A custom color.

QuickLinks

getInternalColor, remove, removeAll

Hierarchy

Object
Spot

Properties

PropertyTypeAccessDescription
colorColor r/w
colorTypeColorModel:
ColorModel.REGISTRATION
ColorModel.PROCESS
ColorModel.SPOT
r/wType of the custom color.
namestring r/wThe custom color's name.
parentObject readonlyThe object's container.
spotKindSpotColorKind:
SpotColorKind.SPOTCMYK
SpotColorKind.SPOTRGB
SpotColorKind.SPOTLAB
readonlyKind of the spot color (i.e. RGB, CMYK or LAB), it is the name of color kind contained in spot.
typenamestring readonlyThe class name of the object.

Methods

Instances

Array of number getInternalColor ()
Gets the internal color of a spot.

void remove ()
Deletes this object.

void removeAll ()
Deletes all elements.

Element of

SpotColor.spot

Used in:

void SwatchGroup.addSpot (spot: Spot)

Return

Spot Spots.add ()

Spot Spots.getByName (name: string)

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