Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Clarify the meaning of 'butt'. (re: Canvas line style comments)
git-svn-id: http://svn.whatwg.org/webapps@1769 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 13, 2008
1 parent 007c87f commit 9f47799
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
19 changes: 10 additions & 9 deletions index
Expand Up @@ -19052,15 +19052,16 @@ idea from Mihai:
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
Expand Down
22 changes: 11 additions & 11 deletions source
Expand Up @@ -16659,17 +16659,17 @@ idea from Mihai:
defines 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.</p>
value means that the end of 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>

<p>When the context is created, the <code
title="dom-context-2d-lineCap">lineCap</code> attribute must
Expand Down

0 comments on commit 9f47799

Please sign in to comment.