Testing the new Brush property with the sample code from the docs pasted in the Paint event of a canvas, I get a NOE on the line “g.Brush = linearBrush”. macOS Big Sur, Retina.
Has anyone else seen that, or am I missing something about the Brush class?
There may have been an issue if you were using some 3rd party plugins that conflicted with this. If that is the case make sure you’re using their latest plugins.
Yes, it was one of the installed plugins that was interfering with the Brush class. Thank you for the tip!
@Christian_Schmitz, it wasn’t one of your plugins, and I suppose too it declared a class named “Brush”. That is why prefixes/suffixes are a good practice.
Xojo team, thanks from the bottom of my heart for the latest additions to the Graphics class! It’s going to make my life 100x easier not having to mix Graphics, CoreGraphics and Direct2D. Terrific update, congratulations on the hard work!