C# Class Enigma.D3.UI.UIRect

Exibir arquivo 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_oe property

public float Bottom
return float

Left public_oe property

public float Left
return float

Right public_oe property

public float Right
return float

Top public_oe property

public float Top
return float