C# Class TowerAnimator.ColorWheel

显示文件 Open project: uiacm/tower_creator

Private Properties

Property Type Description
GenerateWheel void

Public Methods

Method Description
ColorWheel ( int pixelRadius ) : System
Draw ( Graphics g, int x, int y ) : void
GetColor ( int x, int y ) : Color

GetImage ( ) : Image
SetSelected ( Point p ) : void

Private Methods

Method Description
GenerateWheel ( ) : void

Method Details

ColorWheel() public method

public ColorWheel ( int pixelRadius ) : System
pixelRadius int
return System

Draw() public method

public Draw ( Graphics g, int x, int y ) : void
g System.Drawing.Graphics
x int
y int
return void

GetColor() public method

public GetColor ( int x, int y ) : Color
x int
y int Expected to grow downward.
return Color

GetImage() public method

public GetImage ( ) : Image
return Image

SetSelected() public method

public SetSelected ( Point p ) : void
p Point
return void