Area class represents a rectangular region with a specified position.
More...
Area class represents a rectangular region with a specified position.
◆ Area() [1/2]
SpaceVIL.Core.Area.Area |
( |
| ) |
|
Default constructor. All values are zero.
◆ Area() [2/2]
SpaceVIL.Core.Area.Area |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
Constructs a Area with specified position and size.
- Parameters
-
x | X position. |
y | Y position. |
w | Area width. |
h | Area height. |
◆ GetHeight()
int SpaceVIL.Core.Area.GetHeight |
( |
| ) |
|
Getting area height.
- Returns
- Current area height.
◆ GetWidth()
int SpaceVIL.Core.Area.GetWidth |
( |
| ) |
|
Getting area width.
- Returns
- Current area width.
◆ GetX()
int SpaceVIL.Core.Area.GetX |
( |
| ) |
|
Getting X position.
- Returns
- Current X position value.
◆ GetY()
int SpaceVIL.Core.Area.GetY |
( |
| ) |
|
Getting Y position.
- Returns
- Current Y position value.
◆ SetAttr()
void SpaceVIL.Core.Area.SetAttr |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
Setting all area attributes.
- Parameters
-
x | X position. |
y | Y position. |
w | Area width. |
h | Area height. |
◆ SetHeight()
void SpaceVIL.Core.Area.SetHeight |
( |
int |
value | ) |
|
Setting area height.
- Parameters
-
◆ SetWidth()
void SpaceVIL.Core.Area.SetWidth |
( |
int |
value | ) |
|
Setting area width.
- Parameters
-
◆ SetX()
void SpaceVIL.Core.Area.SetX |
( |
int |
value | ) |
|
Setting X position.
- Parameters
-
◆ SetY()
void SpaceVIL.Core.Area.SetY |
( |
int |
value | ) |
|
Setting Y position.
- Parameters
-
◆ ToString()
override string SpaceVIL.Core.Area.ToString |
( |
| ) |
|
The documentation for this class was generated from the following file: