colorEditor is undoable, queryable, and editable.
The
Long name (short name) |
[argument types] |
Properties |
-rgbValue(-rgb)
|
float float float
|

|
|
Three float values corresponding to the red, green, and blue
color components, all of which range from 0.0 to 1.0. Use this
flag to specify the initial color of the Color Editor, or query
this flag to determine the color set in the editor.
In query mode, this flag needs a value.
|
|
-hsvValue(-hsv)
|
float float float
|

|
|
Three float values corresponding to the hue, saturation, and
value color components, where the hue value ranges from 0.0 to 360.0
and the saturation and value components range from 0.0 to 1.0. Use
this flag to specify the initial color of the Color Editor, or query
this flag to determine the color set in the editor.
In query mode, this flag needs a value.
|
|
-alpha(-a)
|
float
|

|
|
Alpha value ranging from 0.0 to 1.0. Use this flag
to specify the initial alpha value of the Color Editor, or query
this flag to determine the alpha value set in the editor.
In query mode, this flag needs a value.
|
|
-parent(-p)
|
string
|
|
|
Specify the parent window for the dialog. The dialog will
be centered on this window and raise and lower with it's parent.
By default, the dialog is not parented to a particular window and
is simply centered on the screen.
|
|
-result(-r)
|
|
|
|
This query only flag returns true if the dialog's "OK" button
was pressed, false otherwise. If you query this flag immediately
after showing the Color Editor then it will return the same value
as the boolean value returned in the colorEditor command's
return string.
In query mode, this flag needs a value.
|
|