Describes rectangle with position and size. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
More...
#include "screen.h"
Describes rectangle with position and size. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
◆ Rectangle_()
ASPOSECPP_SHARED_API System::Windows::Forms::Screen::Rectangle_::Rectangle_ |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Constructor.
- Parameters
-
x | Left position. |
y | Top position. |
width | Horizontal size. |
height | Vertical size. |
◆ get_Height()
int System::Windows::Forms::Screen::Rectangle_::get_Height |
( |
| ) |
const |
|
inline |
Gets verticalal size.
- Returns
- Height.
◆ get_Size()
Gets rectangle size.
- Returns
- Size object.
◆ get_Width()
int System::Windows::Forms::Screen::Rectangle_::get_Width |
( |
| ) |
const |
|
inline |
Gets horizontal size.
- Returns
- Width.
◆ get_X()
int System::Windows::Forms::Screen::Rectangle_::get_X |
( |
| ) |
const |
|
inline |
Gets left position.
- Returns
- X coordinate.
◆ get_Y()
int System::Windows::Forms::Screen::Rectangle_::get_Y |
( |
| ) |
const |
|
inline |
Gets tops position.
- Returns
- Y coordinate.