Create a 2D rectangle, defined by the top left corner of the rectangle, and its width/height. The X axis position of the top left corner of the rectangle. The Y axis position of the top left corner of the rectangle. The width of the rectangle. The height of the rectangle.
(float x, float y, float width, float height)
| 341 | /// <param name="width">The width of the rectangle.</param> |
| 342 | /// <param name="height">The height of the rectangle.</param> |
| 343 | public Rect(float x, float y, float width, float height) |
| 344 | { |
| 345 | this.x = x; |
| 346 | this.y = y; |
| 347 | this.width = width; |
| 348 | this.height = height; |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | /// <summary>Used to represent lines for the line drawing functions! This is just a snapshot of |
nothing calls this directly
no outgoing calls
no test coverage detected