setValue(
(value: string
| | Color
)): void | Sets the color value represented by the color wheel, and triggers onChange . |
setHue(
(value: number
)): void | Sets the hue channel of the current color value and triggers onChange . |
setHueFromPoint(
x: number,
y: number,
radius: number
): void | Sets the hue channel of the current color value based on the given coordinates and radius of the color wheel, and triggers onChange . |
getThumbPosition(
(radius: number
)): {} | Returns the coordinates of the thumb relative to the center point of the color wheel. |
increment(
(minStepSize: number
)): void | Increments the hue by the given amount (defaults to 1). |
decrement(
(minStepSize: number
)): void | Decrements the hue by the given amount (defaults to 1). |
setDragging(
(value: boolean
)): void | Sets whether the color wheel is being dragged. |
getDisplayColor(): Color | Returns the color that should be displayed in the color wheel instead of value . |