mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Scripts: empty paths scale their strokes and refuse a compound's pattern
resize and transform with changeLineWidths equal to the scale now scale the strokes, dashes and effects of a path with no anchors, as they do for a path with anchors. A member with no anchors of a compound path or compound shape that shows a pattern is refused when the call transforms patterns, as a path with a pattern of its own is. node.move's description and docs/mcp.md now say that a compound path on a locked artboard takes a path while it is new art there and still selected.
This commit is contained in:
1 parent
7e8c6bae5c
commit
06fc659299
6 files changed
+74
-12
No files matched your search
+2
-2
@@ -3369,7 +3369,7 @@ through `$`:
|
||||
An omitted key takes its default (`parent`: the current layer; `index`: on top; `compound`: false).
|
||||
Explicit `null` is refused for `parent`, `index` and `compound`.
|
||||
The selection stays as it is. `node.move` also puts a path into a shown, unlocked compound path (its layer and
|
||||
groups shown and unlocked too, and not on a locked artboard), where the path
|
||||
groups shown and unlocked too, and not on a locked artboard unless it is new art there that is still selected), where the path
|
||||
gives up its own paint (a clip group's or clipping layer's clipping path is refused until its mask is released), and an empty compound path takes the paint the first path that goes in was drawn with. A
|
||||
path that `node.move` takes out of a compound path into a layer or a group takes the compound path's paint and pixel
|
||||
alignment, and a pixel-aligned compound path snaps a path it takes to the pixel grid. `node.move` leaves the
|
||||
@@ -8332,7 +8332,7 @@ and `layerRows`, the rows highlighted in the panel.
|
||||
selected-art square is `layer.move` with the selected objects. `node.move {id, parent?, index}` is the low-level
|
||||
form with the same nesting rules; unlike `layer.move`, it also moves a row into a locked layer or group, and it puts
|
||||
a path into a shown, unlocked compound path whose layer and groups are also shown and unlocked and that is not on
|
||||
a locked artboard (see `object.newGroup` for the paint the path keeps or takes). A row that
|
||||
a locked artboard unless it is new art there that is still selected (see `object.newGroup` for the paint the path keeps or takes). A row that
|
||||
either command puts into a Live Paint group from elsewhere (inside it, or above or below one of its rows) joins the
|
||||
group's paths as `livePaint.merge` adds them, in one "Merge Live Paint" undo step, and the group is selected and
|
||||
listed in `layer.move`'s `ids` in its place; paths, compound paths, groups of them and Live Paint groups can join,
|
||||
|
||||
Reference in new issue
Block a user