Next: , Previous: Returning Points for Rectangles, Up: Rectangle Reference


29.5 Querying

const functions: real get_axis_h (void)
— : real get_axis_v (void)

These functions return axis_h and axis_v, respectively.

Please note, that axis_h and axis_v are currently not recalculated, when a Rectangle is transformed. I plan to do something about this soon.

const function: bool is_rectangular (void)

Returns true, if the Rectangle is rectangular, otherwise false. Transformations, such as shearing, can cause Rectangles to become non-rectangular.