API reference / Common / Engine types / ShadingObject
Interface: ShadingObject
A gradient or mesh painted directly (PDF sh operator).
nonstroking_style carries the alpha / overprint that modulate the gradient output. The gradient supplies its own color, so the brush is unused but preserved — the importer captures the gs nonstroking color at the op so round-trip emit can reset gs state correctly.
No stroking_style field — sh never strokes; the shading provides every painted color itself.
Properties
| Property | Type |
|---|---|
shading | string |
nonstrokingStyle | NonstrokingStyle |
renderStyle | RenderStyle |
softMask | string | null |