ColorPicker

fun ColorPicker(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_COLOR_PICKER_WIDTH,     height: Number = DEFAULT_COLOR_PICKER_HEIGHT,     initialColor: Color = Color.WHITE)

Creates a ColorPicker.

Parameters

posX

Horizontal coordinate for this ColorPicker. Default: 0.

posY

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.

initialColor

The Color that is initially selected. Default: Color.WHITE.