|
|
Color
A color.
Color Properties
|
Property
|
Type
|
Access
|
Description
|
|
colorValue
|
Array of Reals
|
r/w
|
The values of the color.
|
|
id
|
Long
|
read
|
A unique number identifying the object.
|
|
index
|
Long
|
read
|
Index of the object within its parent object.
|
|
label
|
String
|
r/w
|
A label that can be set to any string.
|
|
model
|
ColorModel enumeration
|
r/w
|
The model of the color.
|
|
name
|
String
|
r/w
|
The name of the object.
|
|
parent
|
Object
|
read
|
The parent of the object.
|
|
properties
|
An array of property names and values
|
r/w
|
Property that allows setting of several properties at the same time.
|
|
space
|
ColorSpace enumeration
|
r/w
|
The color space.
|
Color Methods
|
Method
|
Returns
|
Description
|
|
duplicate
|
Object
|
Duplicates the object.
|
|
extractLabel
|
String
|
Gets the content of the label associated with the specified key (name).
|
|
getElements
|
Array of Objects
|
Resolve the object specifier.
|
|
insertLabel
|
Nothing
|
Sets the content of the label associated with the specified key (name), creating the label if it does not already exist.
|
|
merge
|
Swatch
|
Merge one or more other swatches into this one.
|
|
remove
|
Nothing
|
Delete swatch.
|
|
toSource
|
String
|
Generate JavaScript source that, if executed, will return the specified objects.
|
|
toSpecifier
|
String
|
Retrieve the object specifier.
|
|
|
|