align
align:
| "left"
| "center"
| "right"
| "start"
| "end"
baseline
baseline:
| "alphabetic"
| "top"
| "hanging"
| "middle"
| "ideographic"
| "bottom"
centering
centering: "legacy" | "new"
clockwise
clockwise: boolean
controlPoint
controlPoint: {
x: number;
y: number;
}
controlPoints
controlPoints: {
x: number;
y: number;
}[]
direction
direction: "ltr" | "rtl" | "inherit"
globalComposite
globalComposite:
| "color"
| "source-over"
| "source-in"
| "source-out"
| "source-atop"
| "destination-over"
| "destination-in"
| "destination-out"
| "destination-atop"
| "lighter"
| "copy"
| "xor"
| "multiply"
| "screen"
| "overlay"
| "darken"
| "lighten"
| "color-dodge"
| "color-burn"
| "hard-light"
| "soft-light"
| "difference"
| "exclusion"
| "hue"
| "saturation"
| "luminosity"
image
image: string | Uint8Array
lineDash
lineDash: number[]
multiline
multiline: boolean
points
points: {
x: number;
y: number;
}[]
shadow
shadow: { shadowBlur: number; shadowColor: string | Gradient | Pattern; shadowOffsetX: number; shadowOffsetY: number; } structureType
structureType: string
weight
weight:
| "normal"
| "bold"
| "italic"
| "bold italic"
| "regular"
| "semi-bold"
| "extra-bold"
| "light"
| "extra-light"