Function 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
.
void popupCenteredClamped
(
const(Vector2) size = Vector2(0.00000F, , 0.00000F, , ) .this(0.00000F, 0.00000F),
const(double) fallback_ratio = 0.75
) nothrow @nogc;