Color Picker
fun ColorPicker( posX: Number = 0, posY: Number = 0, width: Number = DEFAULT_COLOR_PICKER_WIDTH, height: Number = DEFAULT_COLOR_PICKER_HEIGHT, initialColor: Color = Color.WHITE)
Content copied to clipboard
Creates a ColorPicker.
Parameters
pos X
Horizontal coordinate for this ColorPicker. Default: 0.
pos Y
Vertical coordinate for this ColorPicker. Default: 0.
width
Width for this ColorPicker. Default: DEFAULT_COLOR_PICKER_WIDTH.
height
Height for this ColorPicker. Default: DEFAULT_COLOR_PICKER_HEIGHT.
initial Color
The Color that is initially selected. Default: Color.WHITE.