Per-corner radii, in the order top-left, top-right, bottom-right, bottom-left. More...
#include <GuiGeometry.h>
Public Member Functions | |
| GuiCorners (float r=0) | |
| Same radius on every corner (0 = square) | |
| GuiCorners (float tl_, float tr_, float br_, float bl_) | |
Public Attributes | |
| float | tl |
| Top-left radius. | |
| float | tr |
| Top-right radius. | |
| float | br |
| Bottom-right radius. | |
| float | bl |
| Bottom-left radius. | |
Per-corner radii, in the order top-left, top-right, bottom-right, bottom-left.
A radius larger than half the shorter side is clamped.
Definition at line 40 of file GuiGeometry.h.
|
inline |
Same radius on every corner (0 = square)
Definition at line 46 of file GuiGeometry.h.
|
inline |
Definition at line 47 of file GuiGeometry.h.
| float GuiCorners::bl |
Bottom-left radius.
Definition at line 44 of file GuiGeometry.h.
| float GuiCorners::br |
Bottom-right radius.
Definition at line 43 of file GuiGeometry.h.
| float GuiCorners::tl |
Top-left radius.
Definition at line 41 of file GuiGeometry.h.
| float GuiCorners::tr |
Top-right radius.
Definition at line 42 of file GuiGeometry.h.