Popup.popupCenteredClamped

Popup (show the control in modal form) in the center of the screen relative to the current canvas transform, clamping the size to size, then ensuring the popup is no larger than the viewport size multiplied by fallback_ratio.

struct Popup
@nogc nothrow
void
popupCenteredClamped
(
in Vector2 size = Vector2(0, 0)
,
in double fallback_ratio = 0.75
)

Meta