LemonUIbyLemon / LemonUI

LemonUI for .NET (FiveM, RageMP, RagePluginHook and ScriptHookVDotNet 3)
MIT License
177 stars 40 forks source link

Add shortcut for getting the safe zone positions #142

Closed justalemon closed 8 months ago

justalemon commented 8 months ago

Shortcut for this.

Screen.SetElementAlignment(GFXAlignment.Right, GFXAlignment.Bottom);
PointF pos = Screen.GetRealPosition(PointF.Empty);
Screen.ResetElementAlignment();
justalemon commented 8 months ago

Oh, and each one of the corners (Top Left, Bottom Left, Bottom Right and Top Right).