C# Class Enigma.D3.UI.UIRect

Show file Open project: r3peat/Enigma.D3.Public Class Usage Examples

Public Properties

Property Type Description
Bottom float
Left float
Right float
Top float

Public Methods

Method Description
ToString ( ) : string
TranslateToClientRect ( float clientWidth, float clientHeight ) : UIRect

This is just an example, change type to fit whatever UI system you're using for rendering. WinForm uses pixels (int) while WPF uses DPI (float).

Method Details

ToString() public method

public ToString ( ) : string
return string

TranslateToClientRect() public method

This is just an example, change type to fit whatever UI system you're using for rendering. WinForm uses pixels (int) while WPF uses DPI (float).
public TranslateToClientRect ( float clientWidth, float clientHeight ) : UIRect
clientWidth float
clientHeight float
return UIRect

Property Details

Bottom public property

public float Bottom
return float

Left public property

public float Left
return float

Right public property

public float Right
return float

Top public property

public float Top
return float