#include <guiColorPickerCtrl_ScriptBinding.h>
Inherits GuiControl.
|
String | getSelectorPos () |
|
String | getSelectorPosForColor (red|r/g/b/[a], green, blue, [alpha]) |
|
void | setSelectorPos (x/y) |
|
void | updateColor () |
|
void | addGuiControl (int controlId) |
|
Integer | findHitControl (int x, int y) |
|
String | getCenter () |
|
String | getExtent (...) |
|
String | getGlobalCenter () |
|
String | getGlobalPosition () |
|
String | getMinExtent () |
|
Integer | getParent () |
|
String | getPosition () |
|
String | getText () |
|
Boolean | getTextExtend () |
|
Boolean | getTextWrap () |
|
String | getValue () |
|
Boolean | isActive () |
|
Boolean | isAwake () |
|
Boolean | isVisible () |
|
void | makeFirstResponder (isFirst) |
|
void | performClick () |
|
Boolean | pointInControl (int x, int y) |
|
void | reorderChild (child1, child2) |
|
void | resize (int x, int y, int w, int h) |
|
void | setActive (isActive) |
|
void | setCanSave (bool canSave) |
|
void | setCenter (int x, int y) |
|
void | setExtent (int width, int height) |
|
void | setFirstResponder () |
|
void | setPosition (int x, int y) |
|
void | setPositionGlobal (int x, int y) |
|
void | setProfile (GuiControlProfile p) |
|
void | setText (text) |
|
void | setTextExtend (setting) |
|
void | setTextID (id) |
|
void | setTextWrap (setting) |
|
void | setValue (value) |
|
void | setVisible (isVisible) |
|
◆ getSelectorPos()
Gets the current position of the selector.
- Returns
- (int x/int y) The position of the selector as a space-separated x, y coordinate.
◆ getSelectorPosForColor()
String getSelectorPosForColor |
( |
red|r/g/b/ |
[a], |
|
|
green |
, |
|
|
blue |
|
|
) |
| |
Gets the selector position for the specified color. The display mode must be Horiz Color Range, Vert Color Range, or Blend Color Range.
- Parameters
-
red | The red value between 0 and 1. |
green | The green value between 0 and 1. |
blue | The blue value between 0 and 1. |
alpha | The alpha value between 0 and 1. Alpha values control transparency. |
- Returns
- (int x/int y) The position of the selector as a space-separated x, y coordinate.
◆ setSelectorPos()
void setSelectorPos |
( |
x/ |
y | ) |
|
Set the selector by position.
- Parameters
-
(x/y) | The space-separated coordinate to set the selector at. |
- Returns
- No return value.
◆ updateColor()
Forces an update of the pick color.
- Returns
- No return value.