C# Класс ThoNohT.NohBoard.Keyboard.ElementDefinitions.MouseSpeedIndicatorDefinition

Наследование: ElementDefinition
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

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

Метод Описание
GetBoundingBox ( ) : Rectangle

Returns the bounding box of this element.

Inside ( Point point ) : bool

Calculates whether the specified point is inside this element.

MouseSpeedIndicatorDefinition ( int id, TPoint location, int radius ) : System

Initializes a new instance of the MouseSpeedIndicatorDefinition class.

Render ( Graphics g, SizeF speed ) : void

Renders the key in the specified surface.

Translate ( int dx, int dy ) : ElementDefinition

Translates the element, moving it the specified distance.

Описание методов

GetBoundingBox() публичный Метод

Returns the bounding box of this element.
public GetBoundingBox ( ) : Rectangle
Результат System.Drawing.Rectangle

Inside() публичный Метод

Calculates whether the specified point is inside this element.
public Inside ( Point point ) : bool
point Point The point.
Результат bool

MouseSpeedIndicatorDefinition() публичный Метод

Initializes a new instance of the MouseSpeedIndicatorDefinition class.
public MouseSpeedIndicatorDefinition ( int id, TPoint location, int radius ) : System
id int The identifier of the key.
location TPoint The location.
radius int The radius.
Результат System

Render() публичный Метод

Renders the key in the specified surface.
public Render ( Graphics g, SizeF speed ) : void
g System.Drawing.Graphics The GDI+ surface to render on.
speed System.Drawing.SizeF The speed of the mouse.
Результат void

Translate() публичный Метод

Translates the element, moving it the specified distance.
public Translate ( int dx, int dy ) : ElementDefinition
dx int The distance along the x-axis.
dy int The distance along the y-axis.
Результат ElementDefinition