@@ -168,10 +168,10 @@ The ''shape()'' Function</h4>
168168 <<move-command>> = move <<by-to>> <<coordinate-pair>>
169169 <<line-command>> = line <<by-to>> <<coordinate-pair>>
170170 <<hv-line-command>> = [hline | vline] <<by-to>> <<length-percentage>>
171- <<curve-command>> = curve <<by-to>> <<coordinate-pair>> via <<coordinate-pair>> {1,2}
172- <<smooth-command>> = smooth <<by-to>> <<coordinate-pair>> [via <<coordinate-pair>> ]?
173- <<arc-command>> = arc <<by-to>> <<coordinate-pair>> of <<length-percentage>> {1,2}
174- [ <<arc-sweep>> || <<arc-size>> || rotate <<angle>> ]?
171+ <<curve-command>> = curve [ <<by-to>> <<coordinate-pair>> using <<coordinate-pair>> {1,2}]
172+ <<smooth-command>> = smooth [[ <<by-to>> <<coordinate-pair>> ] || [using <<coordinate-pair>> ]?]
173+ <<arc-command>> = arc [[ <<by-to>> <<coordinate-pair>> ] || [ of <<length-percentage>> {1,2}] ||
174+ <<arc-sweep>> ? || <<arc-size>> ? || [ rotate <<angle>> ]?]
175175 <<arc-sweep>> = cw | ccw
176176 <<arc-size>> = large | small
177177 </pre>
@@ -227,23 +227,23 @@ The ''shape()'' Function</h4>
227227 of the <<coordinate-pair>> ,
228228 and the other component specified appropriately to make the line horizontal or vertical.
229229
230- <dt> <dfn><<curve-command>></dfn> = <dfn value>curve</dfn> <<by-to>> <<coordinate-pair>> via <<coordinate-pair>> {1,2}
230+ <dt> <dfn><<curve-command>></dfn> = <dfn value>curve</dfn> [[ <<by-to>> <<coordinate-pair>>] || [using <<coordinate-pair>>{1,2}] ]
231231 <dd>
232232 Adds a Bézier curve command to the list of path data commands,
233233 ending at the point specified by the first <<coordinate-pair>> .
234234
235- The <css> via </css> component specifies control points for the curve:
235+ The <css> using </css> component specifies control points for the curve:
236236 if a single <<coordinate-pair>> is provided,
237237 the command specifies a <a href="https://www.w3.org/TR/SVG/paths.html#PathDataQuadraticBezierCommands">quadratic curve</a> ;
238238 if two <<coordinate-pair>> s are provided,
239239 it specifies a <a href="https://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierCommands">cubic curve</a> .
240240
241- <dt> <dfn><<smooth-command>></dfn> = <dfn value>smooth</dfn> <<by-to>> <<coordinate-pair>> [via <<coordinate-pair>>] ?
241+ <dt> <dfn><<smooth-command>></dfn> = <dfn value>smooth</dfn> [[ <<by-to>> <<coordinate-pair>>] || [using <<coordinate-pair>>] ?]
242242 <dd>
243243 Adds a smooth Bézier curve command to the list of path data commands,
244244 ending at the point specified by the first <<coordinate-pair>> .
245245
246- The <css> via </css> component specifies control points for the curve:
246+ The <css> using </css> component specifies control points for the curve:
247247 if it's omitted,
248248 the command specifies a <a href="https://www.w3.org/TR/SVG/paths.html#PathDataQuadraticBezierCommands">smooth quadratic curve</a> ;
249249 if it's provided,
@@ -258,7 +258,7 @@ The ''shape()'' Function</h4>
258258 so the curve appears to smoothly continue from the previous command,
259259 rather than possibly making a sudden direction change.
260260
261- <dt> <dfn><<arc-command>></dfn> = <dfn value>arc</dfn> <<by-to>> <<coordinate-pair>> of <<length-percentage>> {1,2} [ <<arc-sweep>> || <<arc-size>> || rotate <<angle>> ]
261+ <dt> <dfn><<arc-command>></dfn> = <dfn value>arc</dfn> [[ <<by-to>> <<coordinate-pair>>] || [ of <<length-percentage>>{1,2}] || <<arc-sweep>> ? || <<arc-size>> ? || rotate <<angle>> ? ]
262262 <dd>
263263 Add an <a href="https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands">elliptical arc</a> command
264264 to the list of path data commands,
0 commit comments