You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RectangleF: Error CS0246 The type or namespace name 'RectangleF' could not be found (are you missing a using directive or an assembly reference?)
Quick Actions adds: "using System.Drawing" but this creates a conflict with Maui.Graphics and is the incorrect Rect type for
the following line of code "canvas.FillRectangle(rect)" and other Maui.Graphics references (e.g., Color, convas, etc.).
To test I added "using SDraw = System.Drawing" yielding SDraw.RectangleF rect = new( ... but as noted above RectangleF is wrong type for "canvas.FillRectangle(rect)".