Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Dojo 的 gfx 例程在 div 上绘制一些形状surface.clear(),除此之外,有没有办法清除或擦除部分表面?
surface.clear()
简而言之:没有。请记住,这是一个带有场景图的矢量图形。它不适用于帧缓冲区或像素 => 它不支持擦除区域的概念。
你可以做什么: