Schemas / Geometry / paint
rig.paint.solid
v0.31.0 · draft 5 fields 1 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
rgba |
rgba | required | 0-1 |
cmyk |
vec4 | optional | Optional print quad; (0,0,0,0) = unused |
ink |
string | optional | Optional Separation colorant name. Empty / absent = process (or RGB-only) paint. Non-empty = named ink for print; rgba / cmyk stay the AlternateSpace preview. |
overprintFill |
bool | optional | Optional. Non-stroking overprint (op); absent = false |
overprintStroke |
bool | optional | Optional. Stroking overprint (OP); absent = false |
Shared solid paint (optional library entity).
Display labels stay on rig.meta.named - compose it; do not put name here. ink is the press colorant id (may match the display name). When either overprint flag is true, emitters should also set overprint mode (OPM 1).
Inline draw colour also lives on rig.paint.fill_stroke. Use this schema when several entities share one paint entity - drawables point at it with rig.paint.fill / rig.paint.stroke, and rig.paint.library lists it as a swatch.
JSON Schema
Resolves at https://rig.works/schemas/rig.paint.solid.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.paint.solid.schema.json",
"title": "rig.paint.solid",
"type": "object",
"additionalProperties": false,
"properties": {
"rgba": {
"$ref": "./_defs.schema.json#/$defs/rgba"
},
"cmyk": {
"$ref": "./_defs.schema.json#/$defs/vec4"
},
"ink": {
"$ref": "./_defs.schema.json#/$defs/string"
},
"overprintFill": {
"$ref": "./_defs.schema.json#/$defs/bool"
},
"overprintStroke": {
"$ref": "./_defs.schema.json#/$defs/bool"
}
},
"required": [
"rgba"
]
}