C# Class PckView.Palette

A class defining a color array of 256 values
显示文件 Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Public Methods

Method Description
Equals ( Object other ) : bool

tests for palette equality

GetHashCode ( ) : int
Palette ( Stream s ) : System
this ( int i ) : Color

Indexes colors on number

Method Details

Equals() public method

tests for palette equality
public Equals ( Object other ) : bool
other Object another palette
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Palette() public method

public Palette ( Stream s ) : System
s Stream
return System

this() public method

Indexes colors on number
public this ( int i ) : Color
i int
return Color