mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
- Assigning a SpotColor to a path's fillColor or strokeColor links the paint to its spot at its tint with paint.setFill or paint.setStroke (https://ai-scripting.docsforadobe.dev/jsobjref/SpotColor/). The spot must be a Spot of the path's document, and the tint runs from 0 to 100. Reading the paint back gives the SpotColor with its spot, so assigning it again records no undo step. - Spot.color takes an RGBColor, a CMYKColor or a LabColor in a document of either color space, and the spot keeps that color space, as the Swatches panel's spots do. A GrayColor still throws. - doc.spots lists Registration, whose colorType reads ColorModel.REGISTRATION and which cannot be renamed, recolored or removed; removeAll() keeps it. Registration's swatch color reads as a SpotColor of it. Docs: docs/mcp.md, docs/target-app-parity.md.