C# Class Ultima.FrameEdit

ファイルを表示 Open project: polserver/poltools Class Usage Examples

Public Properties

Property Type Description
height int
width int

Public Methods

Method Description
ChangeCenter ( int x, int y ) : void
FrameEdit ( BinaryReader bin ) : System.Collections.Generic
FrameEdit ( Bitmap bit, ushort palette, int centerx, int centery ) : System.Collections.Generic
Save ( BinaryWriter bin ) : void

Private Methods

Method Description
GetPaletteIndex ( ushort palette, ushort col ) : byte

Method Details

ChangeCenter() public method

public ChangeCenter ( int x, int y ) : void
x int
y int
return void

FrameEdit() public method

public FrameEdit ( BinaryReader bin ) : System.Collections.Generic
bin System.IO.BinaryReader
return System.Collections.Generic

FrameEdit() public method

public FrameEdit ( Bitmap bit, ushort palette, int centerx, int centery ) : System.Collections.Generic
bit System.Drawing.Bitmap
palette ushort
centerx int
centery int
return System.Collections.Generic

Save() public method

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

Property Details

height public_oe property

public int height
return int

width public_oe property

public int width
return int