CRect
CRect is a class of the rectangular area of the chart.
Description
CRect is a class of the area, it defined by coordinates of the upper-left and lower-right corners of a rectangle in Cartesian coordinates.
Declaration
Title
#include <Controls\Rect.mqh> |
Class Methods
Properties
|
|
Left
|
Gets/Sets the X coordinate of the upper-left corner
|
Top
|
Gets/Sets the Y coordinate of the upper-left corner
|
Right
|
Gets/Sets the X coordinate of the lower-right corner
|
Bottom
|
Gets/Sets the Y coordinate of the lower-right corner
|
Width
|
Gets/Sets the width
|
Height
|
Gets/Sets the height
|
SetBound
|
Sets new coordinates of using CRect class
|
Move
|
Sets new coordinates of the CRect class
|
Shift
|
Performs the relative shift of the CRect coordinates
|
Contains
|
Checks if the point is inside the CRect class area
|
Additional methods
|
|
Format
|
Gets the area coordinates as string
|