C# Class GridViewer.UIColorPaletteRenderer

color palette. 在窗口固定位置显示的色标。 本类型只圈定了一个矩形范围。
Inheritance: CSharpGL.UIRenderer
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Private Properties

Property Type Description
label_beforeLayout void

Public Methods

Method Description
SetCodedColor ( double axisMin, double axisMax, double step ) : void
UIColorPaletteRenderer ( int maxMarkerCount, CodedColor codedColors, System anchor, System margin, System size, int zNear, int zFar ) : System

UpdateBar ( Bitmap bitmap ) : void

Protected Methods

Method Description
DoInitialize ( ) : void

Private Methods

Method Description
label_beforeLayout ( object sender, CancelEventArgs e ) : void

adjust label's margin in order to get perfect position after Layout().

Method Details

DoInitialize() protected method

protected DoInitialize ( ) : void
return void

SetCodedColor() public method

public SetCodedColor ( double axisMin, double axisMax, double step ) : void
axisMin double
axisMax double
step double
return void

UIColorPaletteRenderer() public method

public UIColorPaletteRenderer ( int maxMarkerCount, CodedColor codedColors, System anchor, System margin, System size, int zNear, int zFar ) : System
maxMarkerCount int
codedColors CodedColor
anchor System
margin System
size System
zNear int
zFar int
return System

UpdateBar() public method

public UpdateBar ( Bitmap bitmap ) : void
bitmap System.Drawing.Bitmap
return void