![]() |
Adobe Photoshop SDK |
|
PickParms Struct ReferenceStructure used to return the color selected by the user.
More...
|
Data Fields | |
int16 | sourceSpace |
The color space the original color is in. | |
int16 | resultSpace |
The color space of the returned result. | |
unsigned16 | colorComponents [4] |
Contains the original color when the plug-in is called with selectorPick . | |
Str255 * | pickerPrompt |
Prompt string. |
int16 PickParms::sourceSpace |
The color space the original color is in.
See Color Space for values.
int16 PickParms::resultSpace |
The color space of the returned result.
See Color Space for values. Can be plugIncolorServicesChosenSpace
unsigned16 PickParms::colorComponents[4] |
Contains the original color when the plug-in is called with selectorPick
.
The plug-in should write the returned color here as well.
The values of the array depend on the color space.
Color Space | [0] | [1] | [2] | [3] |
---|---|---|---|---|
RGB | red from 0...255 | green from 0...255 | blue from 0...255 | undefined |
HSB | hue from 0...359 degrees | saturation from 0...359 degrees (representing 0%...100%) | brightness from 0...359 degrees(representing 0%...100%) | undefined |
CMYK | cyan from 0...255 (representing 100%...0%) | magenta from 0...255(representing 100%...0%) | yellow from 0...255(representing 100%...0%) | black from 0...255(representing 100%...0%) |
HSL | hue from 0...359 degrees | saturation from 0...359 degrees(representing 0%...100%) | luminance from 0...359 degrees(representing 0%...100%) | undefined |
Lab | Luminance from 0...255(representing 0...100) | a. chromanance from 0...255 degrees(representing -128...127) | b. chromanance from 0...255 degrees(representing -128...127) | undefined |
Gray Scale | gray value from 0...255 | undefined | undefined | undefined |
XYZ | x value from 0...255 | Y value from 0...255 | Z value from 0...255 | undefined |
Str255* PickParms::pickerPrompt |
Prompt string.