C# Class FSO.Files.Formats.IFF.Chunks.PALT

This chunk type holds a color palette.
Inheritance: IffChunk
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
Colors Color[]
References int

Méthodes publiques

Méthode Description
PALT ( ) : System
PALT ( Color color ) : System
PalMatch ( Color data ) : bool
Read ( IffFile iff, Stream stream ) : void

Reads a PALT chunk from a stream.

Write ( IffFile iff, Stream stream ) : bool

Method Details

PALT() public méthode

public PALT ( ) : System
Résultat System

PALT() public méthode

public PALT ( Color color ) : System
color Color
Résultat System

PalMatch() public méthode

public PalMatch ( Color data ) : bool
data Color
Résultat bool

Read() public méthode

Reads a PALT chunk from a stream.
public Read ( IffFile iff, Stream stream ) : void
iff IffFile An Iff instance.
stream Stream A Stream object holding a PALT chunk.
Résultat void

Write() public méthode

public Write ( IffFile iff, Stream stream ) : bool
iff IffFile
stream Stream
Résultat bool

Property Details

Colors public_oe property

public Color[] Colors
Résultat Color[]

References public_oe property

public int References
Résultat int