Method | Description | |
---|---|---|
GetCompiledImage ( ) : Bitmap |
Compiles the Selected list into a single image.
|
|
ResizeTileset ( short tileWidth, short tileHeight, bool rescale ) : void |
Resizes or rescales the tileset belonging to this control.
|
|
Select ( short tile ) : void | ||
SetImages ( Bitmap images ) : void |
Sets the images of the selected tiles.
|
|
SetImages ( List |
Sets the images of the selected tiles;
|
|
TilesetControl2 ( ) : System | ||
UpdateHeight ( ) : void | ||
UpdateTileSize ( ) : void |
Call this when the tile sizes change outside of this controls scope.
|
|
ZoomIn ( ) : bool |
If it returns true, stop zooming.
|
|
ZoomOut ( ) : bool |
If it returns true, stop zooming.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
AddTiles ( short start, short count ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
RemoveTiles ( int count ) : void | ||
SelectTiles ( ) : void | ||
TileContextStrip_Opening ( object sender, CancelEventArgs e ) : void | ||
TilesetControl2_MouseDown ( object sender, MouseEventArgs e ) : void | ||
TilesetControl2_MouseMove ( object sender, MouseEventArgs e ) : void | ||
TilesetControl2_MouseUp ( object sender, MouseEventArgs e ) : void | ||
TilesetControl2_Paint ( object sender, PaintEventArgs e ) : void | ||
TilesetControl2_Resize ( object sender, EventArgs e ) : void | ||
addItem_Click ( object sender, EventArgs e ) : void | ||
appendTilesItem_Click ( object sender, EventArgs e ) : void | ||
insertItem_Click ( object sender, EventArgs e ) : void | ||
removeItem_Click ( object sender, EventArgs e ) : void | ||
removeTilesItem_Click ( object sender, EventArgs e ) : void | ||
zoomInItem_Click ( object sender, EventArgs e ) : void | ||
zoomOutItem_Click ( object sender, EventArgs e ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public ResizeTileset ( short tileWidth, short tileHeight, bool rescale ) : void | ||
tileWidth | short | Width of the new tiles. |
tileHeight | short | Height of the new tiles. |
rescale | bool | Whether or not to rescale along with the resize. |
return | void |
public SetImages ( Bitmap images ) : void | ||
images | Bitmap | A list of images to use for the tiles. |
return | void |