简体   繁体   中英

HTML JavaScript dynamic canvas components

我想要一个带有组合框的 HTML5 页面,用于选择“圆形,矩形,方形,多边形,三角形”等组件和另一个用于选择坐标的组合框,需要根据所选组件和坐标在屏幕上重新绘制图片给定单击按钮 drawimage。

当用户从第一个列表中选择一个项目时,您可以在 jquery 示例中使用 onchange 事件来完成,Vuillez 更改第二个列表的值,之后您可以通过 js 示例绘制图像 jquery 或 Kinetic

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM