This example draws a rectangle with a shadow in the [Paint] event of a Canvas
(should draw a rectangle with a shadow but does not)
Sub Paint(g As Graphics, areas() As REALbasic.Rect) Handles Paint g.ShadowBrush = New ShadowBrush g.DrawingColor = Color.Red g.FillRectangle(0, 0, 100, 100) End Sub
I’m in Mojave maybe is for Catalina and up?
Desktop and iOS project types on all supported operating systems.