C# Класс ARCed.Controls.ImageSelectXnaPanel

Control for configuring tileset configurations.
Наследование: GraphicsDeviceControl
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
InitializeComponent void
ResetPoints void
_timer_Tick void
imageSelectXnaPanel_Disposed void
imageXnaPanel_MouseDown void
imageXnaPanel_MouseMove void
imageXnaPanel_MouseUp void

Открытые методы

Метод Описание
GetTileAtPoint ( Point point ) : int

Gets the ID of the tile at the specified Point.

GetTileAtPoint ( int x, int y ) : int

Gets the ID of the tile at the specified X and Y.

ImageSelectXnaPanel ( ) : System

Default constructor

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Draw ( ) : void

Performs painting of the control

Initialize ( ) : void

Creates the context and prepares for drawing

Приватные методы

Метод Описание
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ResetPoints ( ) : void
_timer_Tick ( object sender, EventArgs e ) : void
imageSelectXnaPanel_Disposed ( object sender, EventArgs e ) : void
imageXnaPanel_MouseDown ( object sender, MouseEventArgs e ) : void
imageXnaPanel_MouseMove ( object sender, MouseEventArgs e ) : void
imageXnaPanel_MouseUp ( object sender, MouseEventArgs 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

Draw() защищенный метод

Performs painting of the control
protected Draw ( ) : void
Результат void

GetTileAtPoint() публичный метод

Gets the ID of the tile at the specified Point.
public GetTileAtPoint ( Point point ) : int
point System.Drawing.Point Coordinates to check, in pixels.
Результат int

GetTileAtPoint() публичный метод

Gets the ID of the tile at the specified X and Y.
public GetTileAtPoint ( int x, int y ) : int
x int X-coordinate value, in pixels.
y int Y-coordinate value, in pixels.
Результат int

ImageSelectXnaPanel() публичный метод

Default constructor
public ImageSelectXnaPanel ( ) : System
Результат System

Initialize() защищенный метод

Creates the context and prepares for drawing
protected Initialize ( ) : void
Результат void