C# Class MonoDroid.ColorPickers.RoundColorPickerView

Inheritance: Android.Views.View
Show file Open project: Cheesebaron/MonoDroid.ColorPickers Class Usage Examples

Public Methods

Method Description
OnTouchEvent ( Android.Views.MotionEvent e ) : bool
RoundColorPickerView ( Android.Content.Context c, Color color ) : System

Protected Methods

Method Description
OnDraw ( Android.Graphics.Canvas canvas ) : void
OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void

Private Methods

Method Description
Ave ( int s, int d, float p ) : int
InterpColor ( IList colors, float unit ) : int

Method Details

OnDraw() protected method

protected OnDraw ( Android.Graphics.Canvas canvas ) : void
canvas Android.Graphics.Canvas
return void

OnMeasure() protected method

protected OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
widthMeasureSpec int
heightMeasureSpec int
return void

OnTouchEvent() public method

public OnTouchEvent ( Android.Views.MotionEvent e ) : bool
e Android.Views.MotionEvent
return bool

RoundColorPickerView() public method

public RoundColorPickerView ( Android.Content.Context c, Color color ) : System
c Android.Content.Context
color Color
return System