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

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

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

Private Properties

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

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

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

Returns the bounding box of this element.

Inside ( Point point ) : bool

Calculates whether the specified point is inside this element.

Translate ( int dx, int dy ) : ElementDefinition

Translates the element, moving it the specified distance.

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

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

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

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

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

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

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

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

StyleVersion защищенное свойство

Compare this against the dependency counter to know when to update brushes.
protected int StyleVersion
Результат int