Schemas / Geometry / paint
rig.paint.marker
v1.0.0 · stable maturity: stable 6 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
width |
float | optional | Optional. Tile width |
height |
float | optional | Optional. Tile height |
ref |
vec2 | optional | Optional. Origin inside the tile; absent = (0, 0) |
orient |
enumauto · auto-start-reverse · angle | optional | Optional. auto, auto-start-reverse, or angle. Absent = auto |
orientDegrees |
float | optional | Optional. Used when orient is angle |
units |
enumstroke-width · user-space | optional | Optional. stroke-width or user-space. Absent = stroke-width |
Marker graphic placed on stroke vertices. Format when present.
Children of this entity are the drawable content. A path names this entity from rig.paint.markers.
JSON Schema
Resolves at https://rig.works/schemas/rig.paint.marker.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.paint.marker.schema.json",
"title": "rig.paint.marker",
"type": "object",
"additionalProperties": false,
"properties": {
"width": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"height": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"ref": {
"$ref": "./_defs.schema.json#/$defs/vec2"
},
"orient": {
"type": "string",
"enum": [
"auto",
"auto-start-reverse",
"angle"
]
},
"orientDegrees": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"units": {
"type": "string",
"enum": [
"stroke-width",
"user-space"
]
}
},
"x-rig-maturity": "stable"
}