Schemas / Geometry / paint

rig.paint.clip

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

Fields

FieldTypeMeaning
path entity required Clip contour. Clip rule is that path's rig.geometry.path fillRule

Clip a drawable to a path. Format when present.

Compose on the drawable. The contour stays on its own entity. Do not reuse rig.pixel.mask_path - that bag is a packed compositor polygon.

JSON Schema

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

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.paint.clip.schema.json",
  "title": "rig.paint.clip",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "path": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    }
  },
  "required": [
    "path"
  ],
  "x-rig-maturity": "stable"
}

Seen in

text-path.json