- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 13 Jun 2008 08:42:08 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv28012 Modified Files: Overview.html Log Message: Clarify the meaning of 'butt'. (re: Canvas line style comments) (whatwg r1769) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.958 retrieving revision 1.959 diff -u -d -r1.958 -r1.959 --- Overview.html 13 Jun 2008 08:23:01 -0000 1.958 +++ Overview.html 13 Jun 2008 08:42:05 -0000 1.959 @@ -19156,15 +19156,16 @@ the type of endings that UAs will place on the end of lines. The three valid values are <code>butt</code>, <code>round</code>, and <code>square</code>. The <code>butt</code> value means that the end of - each line is a flat edge perpendicular to the direction of the line. The - <code>round</code> value means that a semi-circle with the diameter equal - to the width of the line must then be added on to the end of the line. The - <code>square</code> value means that a rectangle with the length of the - line width and the width of half the line width, placed flat against the - edge perpendicular to the direction of the line, must be added at the end - of each line. On setting, any other value than the literal strings - <code>butt</code>, <code>round</code>, and <code>square</code> must be - ignored, leaving the value unchanged. + each line has a flat edge perpendicular to the direction of the line (and + that no additional line cap is added). The <code>round</code> value means + that a semi-circle with the diameter equal to the width of the line must + then be added on to the end of the line. The <code>square</code> value + means that a rectangle with the length of the line width and the width of + half the line width, placed flat against the edge perpendicular to the + direction of the line, must be added at the end of each line. On setting, + any other value than the literal strings <code>butt</code>, + <code>round</code>, and <code>square</code> must be ignored, leaving the + value unchanged. <p>When the context is created, the <code title=dom-context-2d-lineCap><a href="#linecap">lineCap</a></code> attribute must initially have the value
Received on Friday, 13 June 2008 08:42:43 UTC