Schemas / Geometry / paint

rig.paint.order

v1.0.0 · stable maturity: stable 1 field 0 required

Fields

FieldTypeMeaning
layers array<enum>fill · stroke · markers optional Optional. Permutation of fill, stroke, markers. Absent or empty = fill, then stroke, then markers

Draw order of fill, stroke, and markers on one drawable. Format when present.

Omit this component when the default order is enough. Colour and width stay on rig.paint.fill_stroke / fill / stroke. Marker refs stay on rig.paint.markers.

JSON Schema

Resolves at https://rig.works/schemas/rig.paint.order.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.paint.order.schema.json",
  "title": "rig.paint.order",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "layers": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "fill",
          "stroke",
          "markers"
        ]
      }
    }
  },
  "x-rig-maturity": "stable"
}