C# Class Ultima.AnimIdx

Show file Open project: polserver/poltools Class Usage Examples

Public Properties

Property Type Description
idxextra int

Public Methods

Method Description
AddFrame ( Bitmap bit ) : void
AnimIdx ( BinaryReader bin, int extra ) : System.Collections.Generic
AnimIdx ( int index, FileIndex fileIndex, int filetype ) : System.Collections.Generic
ClearFrames ( ) : void
ExportPalette ( string filename, int type ) : void
ExportToVD ( BinaryWriter bin, long &indexpos, long &animpos ) : void
GetFrames ( ) : System.Drawing.Bitmap[]
GetGifPalette ( Bitmap bit ) : void
GetImagePalette ( Bitmap bit ) : void
PaletteConversor ( int seletor ) : void
PaletteReductor ( int Redp, int Greenp, int Bluep ) : void
RemoveFrame ( int index ) : void
ReplaceFrame ( Bitmap bit, int index ) : void
ReplacePalette ( ushort palette ) : void
Save ( BinaryWriter bin, BinaryWriter idx ) : void

Method Details

AddFrame() public method

public AddFrame ( Bitmap bit ) : void
bit System.Drawing.Bitmap
return void

AnimIdx() public method

public AnimIdx ( BinaryReader bin, int extra ) : System.Collections.Generic
bin System.IO.BinaryReader
extra int
return System.Collections.Generic

AnimIdx() public method

public AnimIdx ( int index, FileIndex fileIndex, int filetype ) : System.Collections.Generic
index int
fileIndex FileIndex
filetype int
return System.Collections.Generic

ClearFrames() public method

public ClearFrames ( ) : void
return void

ExportPalette() public method

public ExportPalette ( string filename, int type ) : void
filename string
type int
return void

ExportToVD() public method

public ExportToVD ( BinaryWriter bin, long &indexpos, long &animpos ) : void
bin System.IO.BinaryWriter
indexpos long
animpos long
return void

GetFrames() public method

public GetFrames ( ) : System.Drawing.Bitmap[]
return System.Drawing.Bitmap[]

GetGifPalette() public method

public GetGifPalette ( Bitmap bit ) : void
bit System.Drawing.Bitmap
return void

GetImagePalette() public method

public GetImagePalette ( Bitmap bit ) : void
bit System.Drawing.Bitmap
return void

PaletteConversor() public method

public PaletteConversor ( int seletor ) : void
seletor int
return void

PaletteReductor() public method

public PaletteReductor ( int Redp, int Greenp, int Bluep ) : void
Redp int
Greenp int
Bluep int
return void

RemoveFrame() public method

public RemoveFrame ( int index ) : void
index int
return void

ReplaceFrame() public method

public ReplaceFrame ( Bitmap bit, int index ) : void
bit System.Drawing.Bitmap
index int
return void

ReplacePalette() public method

public ReplacePalette ( ushort palette ) : void
palette ushort
return void

Save() public method

public Save ( BinaryWriter bin, BinaryWriter idx ) : void
bin System.IO.BinaryWriter
idx System.IO.BinaryWriter
return void

Property Details

idxextra public property

public int idxextra
return int