C# Class ZForge.Controls.ExplorerBar.RECT

Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Свойство Type Description
bottom int
left int
right int
top int

Méthodes publiques

Méthode Description
FromRectangle ( Rectangle rect ) : RECT

Creates a new RECT struct from the specified Rectangle

FromXYWH ( int x, int y, int width, int height ) : RECT

Creates a new RECT struct with the specified location and size

RECT ( int left, int top, int right, int bottom ) : System

Creates a new RECT struct with the specified location and size

ToRectangle ( ) : Rectangle

Returns a Rectangle with the same location and size as the RECT

Method Details

FromRectangle() public static méthode

Creates a new RECT struct from the specified Rectangle
public static FromRectangle ( Rectangle rect ) : RECT
rect System.Drawing.Rectangle The Rectangle to create the RECT from
Résultat RECT

FromXYWH() public static méthode

Creates a new RECT struct with the specified location and size
public static FromXYWH ( int x, int y, int width, int height ) : RECT
x int The x-coordinate of the upper-left corner of the RECT
y int The y-coordinate of the upper-left corner of the RECT
width int The width of the RECT
height int The height of the RECT
Résultat RECT

RECT() public méthode

Creates a new RECT struct with the specified location and size
public RECT ( int left, int top, int right, int bottom ) : System
left int The x-coordinate of the upper-left corner of the RECT
top int The y-coordinate of the upper-left corner of the RECT
right int The x-coordinate of the lower-right corner of the RECT
bottom int The y-coordinate of the lower-right corner of the RECT
Résultat System

ToRectangle() public méthode

Returns a Rectangle with the same location and size as the RECT
public ToRectangle ( ) : Rectangle
Résultat System.Drawing.Rectangle

Property Details

bottom public_oe property

Specifies the y-coordinate of the lower-right corner of the RECT
public int bottom
Résultat int

left public_oe property

Specifies the x-coordinate of the upper-left corner of the RECT
public int left
Résultat int

right public_oe property

Specifies the x-coordinate of the lower-right corner of the RECT
public int right
Résultat int

top public_oe property

Specifies the y-coordinate of the upper-left corner of the RECT
public int top
Résultat int