C# 클래스 ThingM.Blink1.ColorManager.ColorWheel

상속: IDisposable
파일 보기 프로젝트 열기: todbot/blink1 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ColorChanged ColorChangedEventHandler

공개 메소드들

메소드 설명
ColorWheel ( Rectangle colorRectangle, Rectangle brightnessRectangle, Rectangle selectedColorRectangle ) : System
Draw ( Graphics g, ThingM.Blink1.ColorManager.ColorHandler HSV ) : void
Draw ( Graphics g, Point mousePoint ) : void
SetMouseUp ( ) : void

보호된 메소드들

메소드 설명
OnColorChanged ( ThingM.Blink1.ColorManager.ColorHandler RGB, ThingM.Blink1.ColorManager.ColorHandler HSV ) : void

비공개 메소드들

메소드 설명
CalcBrightnessPoint ( int brightness ) : Point
CalcCoordsAndUpdate ( ThingM.Blink1.ColorManager.ColorHandler HSV ) : void
CalcDegrees ( Point pt ) : int
CreateGradient ( ) : void
DrawBrightnessPointer ( Point pt ) : void
DrawColorPointer ( Point pt ) : void
DrawLinearGradient ( Color TopColor ) : void
GetColors ( ) : Color[]
GetPoint ( double degrees, double radius, Point centerPoint ) : Point
GetPoints ( double radius, Point centerPoint ) : Point[]
IDisposable ( ) : void
UpdateDisplay ( ) : void

메소드 상세

ColorWheel() 공개 메소드

public ColorWheel ( Rectangle colorRectangle, Rectangle brightnessRectangle, Rectangle selectedColorRectangle ) : System
colorRectangle System.Drawing.Rectangle
brightnessRectangle System.Drawing.Rectangle
selectedColorRectangle System.Drawing.Rectangle
리턴 System

Draw() 공개 메소드

public Draw ( Graphics g, ThingM.Blink1.ColorManager.ColorHandler HSV ) : void
g System.Drawing.Graphics
HSV ThingM.Blink1.ColorManager.ColorHandler
리턴 void

Draw() 공개 메소드

public Draw ( Graphics g, Point mousePoint ) : void
g System.Drawing.Graphics
mousePoint Point
리턴 void

OnColorChanged() 보호된 메소드

protected OnColorChanged ( ThingM.Blink1.ColorManager.ColorHandler RGB, ThingM.Blink1.ColorManager.ColorHandler HSV ) : void
RGB ThingM.Blink1.ColorManager.ColorHandler
HSV ThingM.Blink1.ColorManager.ColorHandler
리턴 void

SetMouseUp() 공개 메소드

public SetMouseUp ( ) : void
리턴 void

프로퍼티 상세

ColorChanged 공개적으로 프로퍼티

public ColorChangedEventHandler ColorChanged
리턴 ColorChangedEventHandler