C# Class Hawkeye.WinApi.RECT

Show file Open project: odalet/Hawkeye2 Class Usage Examples

Public Properties

Property Type Description
Bottom int
Left int
Right int
Top int

Public Methods

Method Description
FromRectangle ( Rectangle rectangle ) : RECT
RECT ( int left, int top, int right, int bottom ) : System

Initializes a new instance of the RECT struct.

ToRectangle ( ) : Rectangle

Method Details

FromRectangle() public static method

public static FromRectangle ( Rectangle rectangle ) : RECT
rectangle System.Drawing.Rectangle
return RECT

RECT() public method

Initializes a new instance of the RECT struct.
public RECT ( int left, int top, int right, int bottom ) : System
left int The left coordinate.
top int The top coordinate.
right int The right coordinate.
bottom int The bottom coordinate.
return System

ToRectangle() public method

public ToRectangle ( ) : Rectangle
return System.Drawing.Rectangle

Property Details

Bottom public property

public int Bottom
return int

Left public property

public int Left
return int

Right public property

public int Right
return int

Top public property

public int Top
return int