C# Class OpenRA.Graphics.MutablePalette

Inheritance: IPalette
Show file Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
ApplyRemap ( IPaletteRemap r ) : void
CopyToArray ( Array destination, int destinationOffset ) : void
MutablePalette ( IPalette p ) : System
SetColor ( int index, Color color ) : void
SetFromPalette ( IPalette p ) : void
this ( int index ) : uint

Method Details

ApplyRemap() public method

public ApplyRemap ( IPaletteRemap r ) : void
r IPaletteRemap
return void

CopyToArray() public method

public CopyToArray ( Array destination, int destinationOffset ) : void
destination System.Array
destinationOffset int
return void

MutablePalette() public method

public MutablePalette ( IPalette p ) : System
p IPalette
return System

SetColor() public method

public SetColor ( int index, Color color ) : void
index int
color Color
return void

SetFromPalette() public method

public SetFromPalette ( IPalette p ) : void
p IPalette
return void

this() public method

public this ( int index ) : uint
index int
return uint