[whatwg] Comments on <canvas> tag
Andrew Fedoniouk
news at terrainformatica.com
Thu May 18 13:30:26 PDT 2006
----- Original Message -----
From: "Ian Hickson" <ian at hixie.ch>
Subject: Re: [whatwg] Comments on <canvas> tag
| On Fri, 17 Jun 2005, David Flanagan wrote:
| >
| > Does the <canvas> tag really have no way to draw dashed and dotted
| > lines? It seems to have everything else. Is this an oversight in the
| > spec?
|
| Correct, it doesn't have stroke styles other than gradients, patterns, and
| solid colours. It was an intentional omission since it was not considered
| a high-use feature. (Similarly, text is not available in Canvas; you have
| to overlay HTML if you want to mix text with the graphics.)
|
"text is not available in Canvas"
How to achieve then something like this:
http://www.terrainformatica.com/sciter/screenshots/clock.jpg
or this:
http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/art/worldclock_gray.jpg
Andrew Fedoniouk.
http://terrainformatica.com
More information about the whatwg
mailing list