MGFX.RoundedBox(x, y, w, h, radius, fill, stroke, strokeWidth)Hot-path rounded rectangle.
MGFX.RoundedBoxEx(x, y, w, h, style)Advanced rounded rectangle with radius, fill, stroke, shadow, glow, and pattern.
MGFX.ChamferBox(x, y, w, h, cuts, fill, stroke, strokeWidth)Hot-path chamfered box. Cuts may be scalar or corner table.
MGFX.ChamferBoxEx(x, y, w, h, style)Advanced chamfered box using style.cuts.
MGFX.Poly(points, fill, stroke, strokeWidth)Convex polygon draw. Points are copied at call time.
MGFX.PolyEx(points, style)Advanced convex polygon with fill, stroke, and pattern.
MGFX.Line(x1, y1, x2, y2, width, fill)Line helper. Fill may be solid or gradient.
MGFX.LineEx(x1, y1, x2, y2, style)Advanced line using style.width, caps, radius, and fill/color.
MGFX.Circle(cx, cy, radius, fill, stroke, strokeWidth)Circle helper backed by rounded-box coverage.
MGFX.CircleEx(cx, cy, radius, style)Advanced circle style.
MGFX.Capsule(x, y, w, h, fill, stroke, strokeWidth)Pill/capsule helper with automatic radius.
MGFX.CapsuleEx(x, y, w, h, style)Advanced capsule style.
MGFX.Backdrop(x, y, w, h, blur, tint, vignette)Framebuffer blur/tint/vignette helper.
MGFX.BackdropEx(x, y, w, h, style)Advanced backdrop using blur, tint, vignette, and radius.