mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
PathPoint.selected and PathItem.selectedPathPoints threw an error that said they were not available yet, and PathItem.guides could only be read. selected now reads PathPointSelection.ANCHORPOINT for a selected anchor point and NOSELECTION otherwise, and assigning either adds or removes the point with select.anchorsMany, keeping the other selected objects and anchors. Every point of a path selected as a whole counts as selected. Direction handles cannot be selected on their own, so the handle values throw an error. selectedPathPoints lists the selected points in pathPoints order. Assigning guides makes the path a guide or a path again with view.guides.make or view.guides.release, keeping the selection; a value that is not a boolean throws a TypeError, and a clipping path cannot be made a guide. A value the point or path already has runs no command. https://ai-scripting.docsforadobe.dev/jsobjref/PathPoint/ https://ai-scripting.docsforadobe.dev/jsobjref/PathItem/