Draw with mouse directly onto UI Element. This is quite literally just painting on Raw Image texture.
Note, this is very much PoC and need to look into texture scaling to ensure texture is not same literal dims as canvas size, rather a scaled factor of the canvas otherwise at resolutions at 4K and over it chokes.
Other things to consider are smoothing, adding procedural shapes, serialisation etc etc.