Skip to content

Commit

Permalink
Move to css-shapes-2
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Nov 10, 2020
1 parent 3002754 commit 7998c5e
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions css-shapes-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,6 @@ Supported Shapes</h3>
section, with the following integrated.

<dl>
<dt>
<pre class=prod>
<dfn>draw()</dfn> = draw( [<<fill-rule>>,]? from <<coordinate-pair>>, <<draw-command>>#])
</pre>
</dt>
<dd dfn-type=value dfn-for="draw()">
<ul>
<li>
The <<coordinate-pair>> represents the initial point of the path.
<li>
The sequence of <dfn><<draw-command>></dfn>s represent commands of an
<a href="https://www.w3.org/TR/SVG11/paths.html#PathData">SVG Path</a>.
</ul>
<dt>
<pre class=prod>
<dfn>path()</dfn> = path( [<<fill-rule>>,]? <<string>> )
Expand All @@ -179,6 +166,18 @@ Supported Shapes</h3>
in the path string.
For the initial direction follow SVG 1.1.
</ul>
<dt>
<pre class=prod>
<dfn>draw()</dfn> = draw( [<<fill-rule>>,]? from <<coordinate-pair>>, <<draw-command>>#)
</pre>
<dd dfn-type=value dfn-for="draw()">
<ul>
<li>
The <<coordinate-pair>> represents the initial point of the path.
<li>
The sequence of <dfn><<draw-command>></dfn>s represent commands of an
<a href="https://www.w3.org/TR/SVG11/paths.html#PathData">SVG Path</a>.
</ul>
</dl>

The arguments not defined above are defined as follows:
Expand All @@ -187,7 +186,7 @@ Supported Shapes</h3>
<dt><dfn><<coordinate-pair>></dfn> = <<length-percentage>>{2}
<dd>Defines a pair of coordinates x & y.
<dt><dfn><<draw-command>></dfn> = <<move-command>> | <<line-command>> | <<perpendicular-line-command>> |
<<curve-command>> | <<smooth-command>> | <<arc-command>> | close
<<curve-command>> | <<smooth-command>> | <<arc-command>> | close
<dd>
Defines a single draw command, equivalent to an <a href="https://www.w3.org/TR/SVG/paths.html#PathDataGeneralInformation">SVG draw command</a>.
<dt><dfn><<by-to>></dfn> = by | to
Expand Down

0 comments on commit 7998c5e

Please sign in to comment.