Class
A color definition used in the document.
isEqual
SolidColor
QuickLinks
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| cmyk | CMYKColor | r/w | The CMYK color model. |
| gray | GrayColor | r/w | The grayscale color model. |
| hsb | HSBColor | r/w | The HSB color model. |
| lab | LabColor | r/w | The lab color model. |
| model | ColorModel: ColorModel.GRAYSCALE ColorModel.RGB ColorModel.CMYK ColorModel.LAB ColorModel.HSB ColorModel.NONE |
r/w | The color model. |
| nearestWebColor | RGBColor | readonly | The nearest web color to the current color. |
| rgb | RGBColor | r/w | The RGB color model. |
Class
| Property | Type | Access | Description |
|---|---|---|---|
| cmyk | CMYKColor | r/w | The CMYK color model. |
| gray | GrayColor | r/w | The grayscale color model. |
| hsb | HSBColor | r/w | The HSB color model. |
| lab | LabColor | r/w | The lab color model. |
| model | ColorModel: ColorModel.GRAYSCALE ColorModel.RGB ColorModel.CMYK ColorModel.LAB ColorModel.HSB ColorModel.NONE |
r/w | The color model. |
| nearestWebColor | RGBColor | readonly | The nearest web color to the current color. |
| rgb | RGBColor | r/w | The RGB color model. |
Methods
Instances
bool isEqual (color:
SolidColor)
Compares two colors.
| Parameter | Type | Description |
|---|---|---|
| color | SolidColor | Another color to compare with. |
Element of
Application.backgroundColor
Application.foregroundColor
Channel.color
ColorSampler.color
DocumentPrintSettings.backgroundColor
TextItem.color
Used in:
void ArtLayer.photoFilter ([fillColor: SolidColor][, density: int=25][, preserveLuminosity: bool=true])
bool SolidColor.isEqual (color: SolidColor)
| Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |