一个简单的绘图板快速体验etscanvas绘图javascriptEntryComponentstructIndex{privatesettings:RenderingContextSettingsnewRenderingContextSettings(true)privatectx:CanvasRenderingContext2DnewCanvasRenderingContext2D(this.settings)Statex:number0Statey:number0StatestartX:number0StatestartY:number0privatecolors['000000','ff0000','ffff00','0000ff','ff00ff']build(){Stack(){Canvas(this.ctx).width('100%').he...