Adobe Photoshop CS5 Object Library JS: SolidColor

Photoshop CS5

Class

SolidColor

 A color definition used in the document.

QuickLinks

isEqual

Properties

PropertyTypeAccessDescription
cmykCMYKColor r/wThe CMYK color model.
grayGrayColor r/wThe grayscale color model.
hsbHSBColor r/wThe HSB color model.
labLabColor r/wThe lab color model.
modelColorModel:
ColorModel.GRAYSCALE
ColorModel.RGB
ColorModel.CMYK
ColorModel.LAB
ColorModel.HSB
ColorModel.NONE
r/wThe color model.
nearestWebColorRGBColor readonlyThe nearest web color to the current color.
rgbRGBColor r/wThe RGB color model.

Class

PropertyTypeAccessDescription
cmykCMYKColor r/wThe CMYK color model.
grayGrayColor r/wThe grayscale color model.
hsbHSBColor r/wThe HSB color model.
labLabColor r/wThe lab color model.
modelColorModel:
ColorModel.GRAYSCALE
ColorModel.RGB
ColorModel.CMYK
ColorModel.LAB
ColorModel.HSB
ColorModel.NONE
r/wThe color model.
nearestWebColorRGBColor readonlyThe nearest web color to the current color.
rgbRGBColor r/wThe RGB color model.

Methods

Instances

bool isEqual (color: SolidColor)
Compares two colors.

ParameterTypeDescription
colorSolidColorAnother 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.3iContents :: Index