C# Class XCom.Palette

A class defining a color array of 256 values
Afficher le fichier Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( Object other ) : bool

tests for palette equality

GetHashCode ( ) : int
GetPalette ( string name ) : Palette
Palette ( Stream s ) : System
Palette ( string name ) : System
SetTransparent ( bool val ) : void
SetTransparent ( bool val, int index ) : void
ToString ( ) : string
this ( int i ) : Color

Indexes colors on number

Method Details

Equals() public méthode

tests for palette equality
public Equals ( Object other ) : bool
other Object another palette
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetPalette() public static méthode

public static GetPalette ( string name ) : Palette
name string
Résultat Palette

Palette() public méthode

public Palette ( Stream s ) : System
s Stream
Résultat System

Palette() public méthode

public Palette ( string name ) : System
name string
Résultat System

SetTransparent() public méthode

public SetTransparent ( bool val ) : void
val bool
Résultat void

SetTransparent() public méthode

public SetTransparent ( bool val, int index ) : void
val bool
index int
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

this() public méthode

Indexes colors on number
public this ( int i ) : Color
i int
Résultat Color