When drawing on screen using finger/pencil with the PencilKit API, I would like to set the width of strokes to be a constant. Currently, the width setting in say PKInkingTool only sets the baseline width when drawing with finger or pencil, and the width varies if one does slow or fast strokes with their finger/pencil.
I'm not sure how to setup a minimum example, there is a lot of code to get a PencilKit View working. You can use this example from Apple to setup a simple drawing app.
Here's my code to choose a default tool for drawing:
canvas.tool = PKInkingTool(.pen, color: .white, width: 10)
where canvas is a PKCanvasView object. There is a validWidthRange property within each InkType (link to docs) but I'm unsure if this is what can help me achieve what I want.