Hi lately, I been scripting a C# component for creating a simple winform that draws a shape in this case a rectangle and let you change its dimensions by the inputs of the component.
So, I been trying to clear the OnPaint event, but I’m not sure if my script is the correct way,
There is some jittering or lagging whenever the dimensions of the rectangle change, so I was wondering if that behavior is natural? or What should be the correct way??? Thanks
Clear OnPaint.gh (8.3 KB)