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

This chunk type holds a color palette.
Inheritance: IffChunk
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Colors Color[]
References int

Public Methods

Method 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 method

public PALT ( ) : System
return System

PALT() public method

public PALT ( Color color ) : System
color Color
return System

PalMatch() public method

public PalMatch ( Color data ) : bool
data Color
return bool

Read() public method

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.
return void

Write() public method

public Write ( IffFile iff, Stream stream ) : bool
iff IffFile
stream Stream
return bool

Property Details

Colors public property

public Color[] Colors
return Color[]

References public property

public int References
return int