Implement Paperjet updates
This commit is contained in:
parent
5e19b78259
commit
4569dea864
19 changed files with 1622 additions and 151 deletions
|
|
@ -58,7 +58,8 @@
|
|||
"description": "Array of [x, y] points in rect-local space"
|
||||
},
|
||||
"strokeColor": { "type": "string", "default": "#000000" },
|
||||
"strokeWidth": { "type": "number", "default": 2 },
|
||||
"strokeWidth": { "type": "number", "default": 2, "description": "Stroke width in canonical PDF points for records with strokeWidthUnit=pdf" },
|
||||
"strokeWidthUnit": { "type": "string", "enum": ["pdf", "screen"], "description": "Optional unit marker; omitted legacy records use screen pixels" },
|
||||
"opacity": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 }
|
||||
},
|
||||
"required": ["paths"]
|
||||
|
|
@ -78,6 +79,7 @@
|
|||
"mode": { "type": "string", "const": "type" },
|
||||
"text": { "type": "string" },
|
||||
"fontFamily": { "type": "string" },
|
||||
"fontSize": { "type": "number", "description": "Typed signature font size in canonical PDF points" },
|
||||
"color": { "type": "string", "default": "#000000" }
|
||||
},
|
||||
"required": ["mode", "text", "fontFamily"]
|
||||
|
|
@ -104,7 +106,8 @@
|
|||
"kind": { "type": "string", "enum": ["rect", "ellipse", "line", "arrow"] },
|
||||
"strokeColor": { "type": "string", "default": "#000000" },
|
||||
"fillColor": { "type": "string", "default": "transparent" },
|
||||
"strokeWidth": { "type": "number", "default": 2 },
|
||||
"strokeWidth": { "type": "number", "default": 2, "description": "Stroke width in canonical PDF points for records with strokeWidthUnit=pdf" },
|
||||
"strokeWidthUnit": { "type": "string", "enum": ["pdf", "screen"], "description": "Optional unit marker; omitted legacy records use screen pixels" },
|
||||
"start": { "type": "array", "items": { "type": "number" }, "minItems": 2, "maxItems": 2 },
|
||||
"end": { "type": "array", "items": { "type": "number" }, "minItems": 2, "maxItems": 2 }
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue