Document Info: Spot Color Objects lists colorized images and skips clear gradients

A grayscale or 1-bit image colorized with a spot color now counts as a
Spot Color Object. A gradient whose stops are all at an opacity of 0
draws nothing, so its spot stops no longer list the object.
This commit is contained in:
dotCooCoo
2026-11-12 05:00:26 -08:00
parent 1d7690029f
commit 72cf92e540
3 changed files with 62 additions and 7 deletions
+3 -2
View File
@@ -6095,8 +6095,9 @@ stroked with a gradient, by the same rules as `patternObjects`, with the gradien
swatch a gradient is linked to, else `Linear gradient`, `Radial gradient` or `Freeform gradient`; the gradients category
lists them as Gradient Objects and `objects.gradients` counts them; gradient swatches no art uses are not listed; with
`selectionOnly`, those in the selection), `gradientNames` (the gradients those objects use), `spotObjects`
(`[{id, name, spotColors}]`: every object filled or stroked with a spot color swatch, as a solid color or in a
gradient's stops, at a tint above 0, by the same rules as `patternObjects`, with the spot colors it uses; a process
(`[{id, name, spotColors}]`: every object filled or stroked with a spot color swatch, as a solid color or in the
stops of a gradient with a stop above opacity 0, at a tint above 0, and every grayscale image colorized with one, by
the same rules as `patternObjects`, with the spot colors it uses; a process
color, even one of the same color, and Registration are not spot colors; the spotColors category lists them as Spot
Color Objects and `objects.spots` counts them; spot swatches no art uses are not listed; with `selectionOnly`, those
in the selection), `spotColorNames` and `spotColors` (the spot colors those objects use) and `pathLength` (pt: the total length of the paths, compound paths' pieces included and guides left