C# 클래스 XCom.Palette

A class defining a color array of 256 values
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetPalette() 공개 정적인 메소드

public static GetPalette ( string name ) : Palette
name string
리턴 Palette

Palette() 공개 메소드

public Palette ( Stream s ) : System
s Stream
리턴 System

Palette() 공개 메소드

public Palette ( string name ) : System
name string
리턴 System

SetTransparent() 공개 메소드

public SetTransparent ( bool val ) : void
val bool
리턴 void

SetTransparent() 공개 메소드

public SetTransparent ( bool val, int index ) : void
val bool
index int
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

this() 공개 메소드

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