C# Class SphereStudio.Plugins.Components.GraphicalLayer

Inheritance: IDisposable
Datei anzeigen Open project: Radnen/spherestudio Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Draw ( Graphics map, Point &offset ) : void
GraphicalLayer ( Layer target, int tile_width, int tile_height ) : System
Refresh ( Layer target, Tileset tileset, bool shownums = false ) : void
Refresh ( Tileset tileset ) : void
Resize ( int tile_width, int tile_height ) : void
SetTile ( int x, int y, Bitmap bitmap ) : void
SetZoom ( int zoom ) : void
Update ( Point &offset, Size bounds, Tileset tileset ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( Graphics map, Point &offset ) : void
map System.Drawing.Graphics
offset Point
return void

GraphicalLayer() public method

public GraphicalLayer ( Layer target, int tile_width, int tile_height ) : System
target Sphere.Core.Layer
tile_width int
tile_height int
return System

Refresh() public method

public Refresh ( Layer target, Tileset tileset, bool shownums = false ) : void
target Sphere.Core.Layer
tileset Sphere.Core.Tileset
shownums bool
return void

Refresh() public method

public Refresh ( Tileset tileset ) : void
tileset Sphere.Core.Tileset
return void

Resize() public method

public Resize ( int tile_width, int tile_height ) : void
tile_width int
tile_height int
return void

SetTile() public method

public SetTile ( int x, int y, Bitmap bitmap ) : void
x int
y int
bitmap System.Drawing.Bitmap
return void

SetZoom() public method

public SetZoom ( int zoom ) : void
zoom int
return void

Update() public method

public Update ( Point &offset, Size bounds, Tileset tileset ) : void
offset Point
bounds System.Drawing.Size
tileset Sphere.Core.Tileset
return void