Properties
Optional bgImage
bgImage: { h: number; img: HTMLImageElement; w: number; x: number; y: number }
Type declaration
-
h: number
-
img: HTMLImageElement
-
w: number
-
x: number
-
y: number
borderColor
borderColor: string
borderWidth
borderWidth: number
Optional center
center: boolean
ctx
ctx: CanvasRenderingContext2D
endAngle
endAngle: number
fillColor
fillColor: string
joinType
joinType: "round" | "bevel" | "miter"
lineCap
lineCap: "butt" | "round" | "square"
lineDash
lineDash: number[]
radius
radius: number | { bl: number; br: number; tl: number; tr: number }
startAngle
startAngle: number