I’m working through the Space Invasion project (part of the Go Beyond series) using the TinyCLR.BrainPad package for C#.
In it, there is a method ClearPart(X, Y, Width, Height) used to clear the existing object rectangle. However, it appears that the ClearPart method does not exist in the current (v220.127.116.11) version of the BrainPad NuGet package.
I couldn’t find an equivalent. I thought I could use the DrawFilledRectangle, however, there was no way to set the fill color to ‘black’ so it just draws a solid box.
Can someple please provide an answer. I find it hard to believe that a publised demo on the brainpad mainsight has incorrect code, and that I’m the first one to discover this problem.
I’ll keep looking but at this point, I am at a loss for a solution (other than looping through each pixel using ClearPoint).