MGFX.Solid(color)Create a solid fill record.
MGFX.LinearGradient(x1, y1, x2, y2, colorA, colorB)Two-stop linear gradient. Coordinates are normalized inside the primitive.
MGFX.LinearGradient(x1, y1, x2, y2, stops)Equivalent to LinearGradientStops for linear ramps.
MGFX.LinearGradientStops(x1, y1, x2, y2, stops)Multi-stop linear gradient. Other gradient helpers also accept stops tables.
MGFX.RadialGradient(cx, cy, radius, colorA, colorB)Radial gradient fill.
MGFX.RingRadialGradient(colorA, colorB)Ring-local radial fill from inner edge to outer edge.
MGFX.SectorRadialGradient(colorA, colorB)Sector-local radial fill from inner edge to outer edge.
MGFX.ConicGradient(cx, cy, rotationDeg, colorA, colorB)Conic gradient using degree rotation publicly.
MGFX.ShapeAngularGradient(colorA, colorB, rotationDeg)Shape-local angular fill mapped over the current arc/sector span.
MGFX.RingAngularGradient(colorA, colorB, rotationDeg)Ring-local angular fill.
MGFX.ArcAngularGradient(colorA, colorB, rotationDeg)Arc-local angular fill from startDeg to endDeg.
MGFX.SectorAngularGradient(colorA, colorB, rotationDeg)Sector-local angular fill from startDeg to endDeg.
MGFX.StripePattern(spec)Stripe pattern. Also accepts positional color, spacing, width, angle, offset.
MGFX.SmokePattern(spec)Procedural smoke pattern with color, scale, density, softness, angle, offset, speed, warp, and seed.
MGFX.Transform(spec)CSS-like draw transform record for supported Ex calls.
MGFX.PointerTilt(x, y, spec)Pointer-driven 2.5D tilt transform.
MGFX.ProjectedQuad(spec)Projected-quad transform escape hatch without ProjectedXXX APIs.
MGFX.PushTransform(transform, x, y, w, h)Apply one visual transform to several immediate draw calls.
MGFX.PopTransform()Pop the current visual transform.
MGFX.TransformPoint(px, py, transform, x, y, w, h)Map a point through a transform.
MGFX.UntransformPoint(px, py, transform, x, y, w, h)Approximate inverse mapping for pointer-following effects.
MGFX.GetCapabilities(target)Return implemented style keys and metadata for a target.
MGFX.Supports(target, key)Check whether a target supports a public render slot.