color

A color.

color properties

Property Type Access Description
class integer read The class descriptor type.
color value list of fixed r/w The values of the color.
id integer read A unique number identifying the object.
index integer read Index of the object within its parent object.
label string r/w A label that can be set to any string.
model color model enumeration r/w The model of the color.
name string r/w The name of the object.
object reference object read An object reference for this object.
parent object read The parent of the object.
properties record r/w Property that allows setting of several properties at the same time.
space color space enumeration r/w The color space.

color methods

Method Returns Description
delete Nothing Delete swatch.
duplicate object Duplicates the object.
extract label string Gets the content of the label associated with the specified key (name).
insert label 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.

Leave a Comment

Previous post:

Next post: