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.
我想将位图绘制到缓冲区中并使用 javascript 创建位图。理想情况下,我应该通过绘制线条、矩形和类似的东西来创建位图,并在需要时绘制到屏幕上。感谢您回复并提供一些代码提示。
问候
你可以用画布做到这一点:
https://developer.mozilla.org/en/drawing_graphics_with_canvas