A radial (pie) menu: entries laid out as donut sectors around the open point on
UIRoot.popupLayer, behind a click-blocking backdrop. Moving the pointer highlights the
sector under it; clicking a sector runs its onSelect and closes. Escape or an outside click
closes with no selection. Reuses UIMenuItem (label/key/onSelect/disabled; separators and
shortcuts are ignored here).
Static variables
Static methods
staticopen(x:Float, y:Float, items:Array<UIMenuItem>):UIPieMenu
Opens a pie menu centered on a UI-space point, closing any menu already open.
Parameters:
x | the center x in UI (root content) coordinates |
|---|---|
y | the center y in UI coordinates |
items | the entries (an empty/ |
Returns:
the opened menu (assign onClosed for close notifications)