◆ center()
Point nx::sdk::analytics::Rect::center |
( |
| ) |
const |
|
inline |
Calculates the center of the rectangle.
- Returns
- Point with both coordinates in the range [0..1].
◆ height
float nx::sdk::analytics::Rect::height = -1 |
Height of the rectangle. Valid value must be in the range [0..1], and the rule y + height <= 1
must be satisfied.
◆ width
float nx::sdk::analytics::Rect::width = -1 |
Width of the rectangle. Valid value must be in the range [0..1], and the rule x + width <= 1
must be satisfied.
float nx::sdk::analytics::Rect::x = -1 |
X coordinate of the top left corner. Valid value must be in the range [0..1].
float nx::sdk::analytics::Rect::y = -1 |
Y coordinate of the top left corner. Valid value must be in the range [0..1].
The documentation for this struct was generated from the following file: