Class cc.ControlHuePicker

Class Summary
Constructor Attributes Constructor Name and Description
 
ControlHuePicker: HUE picker ui component.

Method Summary

Class Detail

cc.ControlHuePicker()
ControlHuePicker: HUE picker ui component.

Field Detail

{cc.Sprite} background
- <@readonly> The background sprite
{Number} hue
- The hue value
{Number} huePercent
- The hue value in percentage
{cc.Sprite} slider
- <@readonly> The slider sprite
{cc.Point} startPos
- <@readonly> The start position of the picker

Method Detail

  • <static> {ControlHuePicker} cc.ControlHuePicker.create(target, pos)
    Parameters:
    target
    pos
    Returns:
    {ControlHuePicker}
  • ctor(target, pos)
    The constructor of cc.ControlHuePicker
    Parameters:
    {cc.Node} target
    {cc.Point} pos
    position