C# Class OpenRA.Mods.Common.Traits.AlphaPaletteRemap

Inheritance: IPaletteRemap
显示文件 Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
AlphaPaletteRemap ( float alpha, bool premultiply ) : System.Collections.Generic
GetRemappedColor ( Color original, int index ) : Color

Method Details

AlphaPaletteRemap() public method

public AlphaPaletteRemap ( float alpha, bool premultiply ) : System.Collections.Generic
alpha float
premultiply bool
return System.Collections.Generic

GetRemappedColor() public method

public GetRemappedColor ( Color original, int index ) : Color
original System.Drawing.Color
index int
return System.Drawing.Color