I want to create a flood fill (aka paint bucket) tool with PencilKit.
I am aware of the way to inspect the PKStrokes to identify an enclosed space to fill inside of them but I'm not sure the way to create the internal shape inside that space.
Any suggestion or leads would be appreciated. Thanks in advance and please have a beautiful day.
I am aware of the way to inspect the PKStrokes to identify an enclosed space to fill inside of them but I'm not sure the way to create the internal shape inside that space.
Any suggestion or leads would be appreciated. Thanks in advance and please have a beautiful day.