Implement Paperjet updates
This commit is contained in:
parent
5e19b78259
commit
4569dea864
19 changed files with 1622 additions and 151 deletions
|
|
@ -46,6 +46,7 @@ class DrawProps(BaseModel):
|
|||
svgPath: str | None = None
|
||||
strokeColor: str = "#000000"
|
||||
strokeWidth: float = 2
|
||||
strokeWidthUnit: Literal["pdf", "screen"] | None = None
|
||||
opacity: float = 1.0
|
||||
|
||||
|
||||
|
|
@ -65,6 +66,7 @@ class SignatureTypeProps(BaseModel):
|
|||
text: str
|
||||
fontFamily: str
|
||||
color: str = "#000000"
|
||||
fontSize: float | None = None
|
||||
|
||||
|
||||
class SignatureAnnotation(AnnotationBase):
|
||||
|
|
@ -98,6 +100,7 @@ class ShapeProps(BaseModel):
|
|||
strokeColor: str = "#000000"
|
||||
fillColor: str = "transparent"
|
||||
strokeWidth: float = 2
|
||||
strokeWidthUnit: Literal["pdf", "screen"] | None = None
|
||||
start: tuple[float, float] | None = None
|
||||
end: tuple[float, float] | None = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue