HRESULT DrawRectangle ( FLOAT left, FLOAT top, FLOAT width, FLOAT height, FLOAT rotateAngle ) |
This method draws a rectangle with top-left corner at (left, top) and bottom-right corner at (right, bottom) and rotates it at the angle specified.
See theĀ ResetPath method for examples.