C# Class ThoNohT.NohBoard.Keyboard.ElementDefinitions.ElementDefinition

Afficher le fichier Open project: ThoNohT/NohBoard Class Usage Examples

Protected Properties

Свойство Type Description
StyleVersion int

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

GetBoundingBox() public abstract méthode

Returns the bounding box of this element.
public abstract GetBoundingBox ( ) : Rectangle
Résultat System.Drawing.Rectangle

Inside() public abstract méthode

Calculates whether the specified point is inside this element.
public abstract Inside ( Point point ) : bool
point System.Drawing.Point The point.
Résultat bool

Translate() public abstract méthode

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.
Résultat ElementDefinition

Property Details

StyleVersion protected_oe property

Compare this against the dependency counter to know when to update brushes.
protected int StyleVersion
Résultat int