ColorPickerDraw
Callable
Parameters
X: number
Coordinate on the X axis
Y: number
Coordinate on the Y axis
Width: number
Width of the color picker
Height: number
Height of the color picker
Src: HTMLInputElement
Input element that can contain a hex color code
optionalCallback: ColorPickerCallbackType
Callback to execute when the selected color changes
Returns void
- Nothing
Draws the color picker on the canvas