SolidColor

A color definition used in the document.

Methods:

isEqual

Objects:

CMYKColor, ColorModel, GrayColor, HSBColor, LabColor, RGBColor

Property Listing

Property

Type

Access

Description

cmyk

CMYKColor

read/write

The CMYK color model.

gray

GrayColor

read/write

The grayscale color model.

hsb

HSBColor

read/write

The HSB color model.

lab

LabColor

read/write

The lab color model.

model

ColorModel

ColorModel.GRAYSCALE

ColorModel.RGB

ColorModel.CMYK

ColorModel.LAB

ColorModel.HSB

ColorModel.NONE

read/write

The color model.

nearestWebColor

RGBColor

readonly

The nearest web color to the current color.

rgb

RGBColor

read/write

The RGB color model.

Constants/Events

Name

Type

Access

Description

cmyk

CMYKColor

readonly

The CMYK color model.

gray

GrayColor

readonly

The grayscale color model.

hsb

HSBColor

readonly

The HSB color model.

lab

LabColor

readonly

The lab color model.

model

ColorModel

ColorModel.GRAYSCALE

ColorModel.RGB

ColorModel.CMYK

ColorModel.LAB

ColorModel.HSB

ColorModel.NONE

readonly

The color model.

nearestWebColor

RGBColor

readonly

The nearest web color to the current color.

rgb

RGBColor

readonly

The RGB color model.

Method Listing

Boolean isEqual (color:SolidColor)

Compares two colors.

Parameter

Type

Description

color

SolidColor

Another color to compare with.

Object of

DocumentPrintSettings.backgroundColor

Channel.color

ColorSampler.color

Application.backgroundColor

Application.foregroundColor

TextItem.color