我正在尝试将整个两段 div 绘制到 Canvas 上。我主要在将 div 放在 Canvas 上而无需使用所有 Canvas 标签并绘制每一行时遇到问题。我认为这是可能的,如果不可行请告诉我。我对 Javascript 和 Php 处于中级水平,对 HTML 有经验,但对 canvas 很陌生,所以尽量保持简单。
HTML 代码:
<đầu>
Quote It!
type = "text/css"
href = "passext.css" />
đầu>
It's as easy as One...Two...Three!
Instructions:
Fill out quote and author fields, then press "Create Quote".
Adjust attributes and watch as it updates in real-time!
Click save and it will convert to a versatile image.
Tips & Warnings:
- Don't forget to add quotation marks!
- Don't forget a dash before the author.
- To create a new quote, hit "Reset", and fill out the form.
id = "save"
value = "Save"
onclick = "saveFuction()"/>