Spot

A custom color.

Methods:

getInternalColor, remove, removeAll

Objects:

Color, ColorModel, SpotColorKind, String

Property Listing

Property

Type

Access

Description

color

Color

read/write

 

colorType

ColorModel

ColorModel.PROCESS

ColorModel.REGISTRATION

ColorModel.SPOT

read/write

Type of the custom color.

name

String

read/write

The custom color's name.

parent

 

readonly

The object's container.

spotKind

SpotColorKind

SpotColorKind.SPOTCMYK

SpotColorKind.SPOTLAB

SpotColorKind.SPOTRGB

readonly

Kind of the spot color (i.e. RGB, CMYK or LAB), it is the name of color kind contained in spot.

typename

String

readonly

The class name of the object.

Method Listing

Number getInternalColor ()

Gets the internal color of a spot.

undefined remove ()

Deletes this object.

undefined removeAll ()

Deletes all elements.

Object of

SpotColor.spot

Return

Spots.add()

Spots.getByName()