CRect:Class Properties
The CRect class has 4 properties that define the endpoint coordinates of the rectangle. These properties are accessed directly by using the dot operator on the CRect object, as in R.xmax. They also can be initialized using the constructor or a class method like Set.
CRect Class Properties |
|
xmin |
The minimum x value of the rectangle. |
xmax |
The maximum x value of the rectangle. |
ymin |
The minimum y value of the rectangle. |
ymax |
The maximum y value of the rectangle. |