C# Class OpenRA.Graphics.ImmutablePalette

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

Public Methods

Method Description
CopyToArray ( Array destination, int destinationOffset ) : void
ImmutablePalette ( IEnumerable sourceColors ) : System
ImmutablePalette ( IPalette p ) : System
ImmutablePalette ( IPalette p, IPaletteRemap r ) : System
ImmutablePalette ( Stream s, int remapShadow ) : System
ImmutablePalette ( string filename, int remap ) : System
this ( int index ) : uint

Private Methods

Method Description
LoadFromStream ( Stream s, int remapShadow ) : void

Method Details

CopyToArray() public method

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

ImmutablePalette() public method

public ImmutablePalette ( IEnumerable sourceColors ) : System
sourceColors IEnumerable
return System

ImmutablePalette() public method

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

ImmutablePalette() public method

public ImmutablePalette ( IPalette p, IPaletteRemap r ) : System
p IPalette
r IPaletteRemap
return System

ImmutablePalette() public method

public ImmutablePalette ( Stream s, int remapShadow ) : System
s Stream
remapShadow int
return System

ImmutablePalette() public method

public ImmutablePalette ( string filename, int remap ) : System
filename string
remap int
return System

this() public method

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