public class HueView extends AbstractSliderView
Modifier and Type | Class and Description |
---|---|
static interface |
HueView.OnHueChangedListener |
colorRange, density, finderBitmap, stage
Constructor and Description |
---|
HueView(Context context) |
HueView(Context context,
AttributeSet attrs) |
HueView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
onDraw(Canvas canvas) |
protected void |
onProgressChange(float progress) |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
void |
setHueSelection(float hue) |
void |
setListener(HueView.OnHueChangedListener listener) |
drawFinder, finalize, onTouchEvent
public HueView(Context context)
public HueView(Context context, AttributeSet attrs)
public HueView(Context context, AttributeSet attrs, int defStyleAttr)
protected void onDraw(@NonNull Canvas canvas)
protected void onProgressChange(float progress)
onProgressChange
in class AbstractSliderView
protected void onSizeChanged(int w, int h, int oldw, int oldh)
onSizeChanged
in class AbstractSliderView
public void setHueSelection(float hue)
public void setListener(HueView.OnHueChangedListener listener)