DrawRoundedRectangle
(rect, color, cornerRadius, borderWidth, borderColor)
Draw a rounded rectangle, with optional border, in Material.UI.Box. Corner radii are
(bottom-right, top-right, bottom-left, top-left); radii too big for the rect are scaled to fit, like CSS.
Border widths are left, top, right, bottom.
DrawText
(position, text, color, fontFamily, fontSize, fontWeight, flags)
Rect
Draws a text quad in screenspace using the Material.UI.Text material.
MeasureText
(position, text, fontFamily, fontSize, fontWeight, flags)
Rect
Measure how big some text will be, without having to render it