Closed landy101 closed 1 year ago
I want to develop programs similar to CAD. The graphics are always covered. How can I solve this problem? thank you
this.electronArray.push( this._two.makeRectangle(X, Y, 300, 100) )
Do you have any examples similar to CAD?
const rect = two.makeRectangle(x, y, 300, 100); rect.noFill(); // or rect.fill = 'transparent';
The default is that they are filled white. You can remove the fill with the above code.
I want to develop programs similar to CAD. The graphics are always covered. How can I solve this problem? thank you
this.electronArray.push( this._two.makeRectangle(X, Y, 300, 100) )
Do you have any examples similar to CAD?