C# Class MapIconBuilder.IconTransform

显示文件 Open project: ZeroK-RTS/SpringRTS-Tools Class Usage Examples

Public Methods

Method Description
FromFloatRgb ( double r, double g, double b ) : Color
GetBounds ( Bitmap bm ) : Rectangle
IconTransform ( string dataLine ) : System
Load ( ) : void
Process ( ) : void
Save ( ) : void

Private Methods

Method Description
AddIcon ( Image image, Symbol s ) : void
LoadImage ( string path ) : Bitmap
LoadImage ( string path, int x, int y ) : Bitmap

Method Details

FromFloatRgb() public static method

public static FromFloatRgb ( double r, double g, double b ) : Color
r double
g double
b double
return Color

GetBounds() public static method

public static GetBounds ( Bitmap bm ) : Rectangle
bm System.Drawing.Bitmap
return System.Drawing.Rectangle

IconTransform() public method

public IconTransform ( string dataLine ) : System
dataLine string
return System

Load() public method

public Load ( ) : void
return void

Process() public method

public Process ( ) : void
return void

Save() public method

public Save ( ) : void
return void