C# Class SphereStudio.Plugins.Components.GraphicalLayer

Inheritance: IDisposable
Afficher le fichier Open project: Radnen/spherestudio Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Draw() public méthode

public Draw ( Graphics map, Point &offset ) : void
map System.Drawing.Graphics
offset Point
Résultat void

GraphicalLayer() public méthode

public GraphicalLayer ( Layer target, int tile_width, int tile_height ) : System
target Sphere.Core.Layer
tile_width int
tile_height int
Résultat System

Refresh() public méthode

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

Refresh() public méthode

public Refresh ( Tileset tileset ) : void
tileset Sphere.Core.Tileset
Résultat void

Resize() public méthode

public Resize ( int tile_width, int tile_height ) : void
tile_width int
tile_height int
Résultat void

SetTile() public méthode

public SetTile ( int x, int y, Bitmap bitmap ) : void
x int
y int
bitmap System.Drawing.Bitmap
Résultat void

SetZoom() public méthode

public SetZoom ( int zoom ) : void
zoom int
Résultat void

Update() public méthode

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