C# Class ThoNohT.NohBoard.Keyboard.KeyboardDefinition

Show file Open project: ThoNohT/NohBoard Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetBoundingBox ( ) : Rectangle

Calculates the bounding box of all elements in the keyboard definition.

Load ( string category, string name ) : KeyboardDefinition

Loads a new keyboard definition.

Save ( ) : void

Saves this keyboard definition. The path is defined from the category and name of this keyboard.

Method Details

GetBoundingBox() public method

Calculates the bounding box of all elements in the keyboard definition.
public GetBoundingBox ( ) : Rectangle
return System.Drawing.Rectangle

Load() public static method

Loads a new keyboard definition.
public static Load ( string category, string name ) : KeyboardDefinition
category string The category to load the keyboard from.
name string The name of the keyboard to load.
return KeyboardDefinition

Save() public method

Saves this keyboard definition. The path is defined from the category and name of this keyboard.
public Save ( ) : void
return void