Whether shape mode is active.
Callback when shape creation is cancelled.
Callback when shape creation is complete.
Scaled position of the shape on the page.
The shape data.
The type of shape to create.
Optional strokeStroke color for the shape.
"#000000"
Optional strokeStroke width for the shape.
2
The PDF viewer instance.
The props type for ShapeCanvas.