Skip to content

Commit e2fb4f0

Browse files
committed
FEAT: removes the description of some deprecated Shape commands.
1 parent 8c275e3 commit e2fb4f0

1 file changed

Lines changed: 3 additions & 23 deletions

File tree

en/draw.adoc

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -835,16 +835,17 @@ shape [<commands>]
835835

836836
*Description*
837837

838-
The `shape` keywords gives access to the Shape sub-dialect drawing commands. The specific features of this drawing dialect are:
838+
The Shape dialect allows the creation of custom shapes (mirroring the way SVG paths work). The `shape` keywords gives access to the Shape sub-dialect drawing commands. The specific features of this drawing dialect are:
839839

840840
* the pen position for drawing can be moved independently of drawing operations.
841841
* each drawing command starts from the current pen position.
842-
* shapes are automatically closed (no need to draw the last stroke back to start position).
843842
* the generated shapes can be fed to `fill-pen` for simple or sophisticated filling.
844843
* coordinates can be absolute (like in Draw) or relative to the last pen position.
845844

846845
NOTE: All drawing commands are using absolute coordinates by default, using the lit-word version of the command switches the command to relative coordinates.
847846

847+
NOTE: There is no concept of "sub-shapes", the shape is considered as a unique shape even if parts of it are disjoined.
848+
848849
=== Move
849850

850851
*Syntax*
@@ -994,27 +995,6 @@ Draws a horizontal line from the current pen position.
994995

995996
Draws a vertical line from the current pen position.
996997

997-
=== Line-width
998-
999-
Same as the Draw dialect.
1000-
1001-
=== Line-join
1002-
1003-
Same as the Draw dialect.
1004-
1005-
=== Line-cap
1006-
1007-
Same as the Draw dialect.
1008-
1009-
=== Pen
1010-
1011-
Same as the Draw dialect.
1012-
1013-
=== Fill-pen
1014-
1015-
Same as the Draw dialect.
1016-
1017-
1018998
== Default values
1019999

10201000
When a new Draw session starts, the following default values are used:

0 commit comments

Comments
 (0)