C# 클래스 MonoDroid.ColorPickers.ColorPickerView

상속: Android.Views.View
파일 보기 프로젝트 열기: Cheesebaron/MonoDroid.ColorPickers 1 사용 예제들

공개 메소드들

메소드 설명
ColorPickerView ( Android.Content.Context context ) : System
ColorPickerView ( Android.Content.Context context, IAttributeSet attrs ) : System
ColorPickerView ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
OnTouchEvent ( Android.Views.MotionEvent e ) : bool
OnTrackballEvent ( Android.Views.MotionEvent e ) : bool

보호된 메소드들

메소드 설명
ColorPickerView ( IntPtr javaReference, JniHandleOwnership transfer ) : System
Dispose ( bool disposing ) : void
OnDraw ( Android.Graphics.Canvas canvas ) : void
OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
OnSizeChanged ( int w, int h, int oldw, int oldh ) : void

비공개 메소드들

메소드 설명
AlphaToPoint ( int alpha ) : Point
BuildHueColorArray ( ) : int[]
CalculateRequiredOffset ( ) : float
ChooseHeight ( MeasureSpecMode mode, int size ) : int
ChooseWidth ( MeasureSpecMode mode, int size ) : int
DrawAlphaPanel ( Android.Graphics.Canvas canvas ) : void
DrawHuePanel ( Android.Graphics.Canvas canvas ) : void
DrawSatValPanel ( Android.Graphics.Canvas canvas ) : void
GetPrefferedHeight ( ) : int
GetPrefferedWidth ( ) : int
HueToPoint ( float hue ) : Point
Init ( ) : void
InitPaintTools ( ) : void
MoveTrackersIfNeeded ( Android.Views.MotionEvent e ) : bool
PointToAlpha ( int x ) : int
PointToHue ( float y ) : float
PointToSatVal ( float x, float y ) : float[]
SatValToPoint ( float sat, float val ) : Point
SetUpAlphaRect ( ) : void
SetUpHueRect ( ) : void
SetUpSatValRect ( ) : void

메소드 상세

ColorPickerView() 공개 메소드

public ColorPickerView ( Android.Content.Context context ) : System
context Android.Content.Context
리턴 System

ColorPickerView() 공개 메소드

public ColorPickerView ( Android.Content.Context context, IAttributeSet attrs ) : System
context Android.Content.Context
attrs IAttributeSet
리턴 System

ColorPickerView() 공개 메소드

public ColorPickerView ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
context Android.Content.Context
attrs IAttributeSet
defStyle int
리턴 System

ColorPickerView() 보호된 메소드

protected ColorPickerView ( IntPtr javaReference, JniHandleOwnership transfer ) : System
javaReference System.IntPtr
transfer JniHandleOwnership
리턴 System

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

OnDraw() 보호된 메소드

protected OnDraw ( Android.Graphics.Canvas canvas ) : void
canvas Android.Graphics.Canvas
리턴 void

OnMeasure() 보호된 메소드

protected OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
widthMeasureSpec int
heightMeasureSpec int
리턴 void

OnSizeChanged() 보호된 메소드

protected OnSizeChanged ( int w, int h, int oldw, int oldh ) : void
w int
h int
oldw int
oldh int
리턴 void

OnTouchEvent() 공개 메소드

public OnTouchEvent ( Android.Views.MotionEvent e ) : bool
e Android.Views.MotionEvent
리턴 bool

OnTrackballEvent() 공개 메소드

public OnTrackballEvent ( Android.Views.MotionEvent e ) : bool
e Android.Views.MotionEvent
리턴 bool