C# 클래스 SphereStudio.Plugins.Components.TilesetControl2

파일 보기 프로젝트 열기: Radnen/spherestudio 1 사용 예제들

공개 메소드들

메소드 설명
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 images ) : void

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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetCompiledImage() 공개 메소드

Compiles the Selected list into a single image.
public GetCompiledImage ( ) : Bitmap
리턴 Bitmap

ResizeTileset() 공개 메소드

Resizes or rescales the tileset belonging to this control.
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.
리턴 void

Select() 공개 메소드

public Select ( short tile ) : void
tile short
리턴 void

SetImages() 공개 메소드

Sets the images of the selected tiles.
public SetImages ( Bitmap images ) : void
images Bitmap A list of images to use for the tiles.
리턴 void

SetImages() 공개 메소드

Sets the images of the selected tiles;
public SetImages ( List images ) : void
images List
리턴 void

TilesetControl2() 공개 메소드

public TilesetControl2 ( ) : System
리턴 System

UpdateHeight() 공개 메소드

public UpdateHeight ( ) : void
리턴 void

UpdateTileSize() 공개 메소드

Call this when the tile sizes change outside of this controls scope.
public UpdateTileSize ( ) : void
리턴 void

ZoomIn() 공개 메소드

If it returns true, stop zooming.
public ZoomIn ( ) : bool
리턴 bool

ZoomOut() 공개 메소드

If it returns true, stop zooming.
public ZoomOut ( ) : bool
리턴 bool