How do I create an uneven 2D shape and get points within it

Hi There,

I’m currently trying to create a forest generator tool within unity, I want my tool to generate a forest based on a preselected shape the my tool user would set the vertices for. Visual representation of this:

I’m stuck on the task of getting points inside the shape, my first thought was to use unity’s Spline Package to create the shape and get the points inside it. However, I can only seem to use the Packages’ “Evaluate” Function to do get points along a spline and not within one that connects at both ends. I realise I would need a Resolution Size to get these points, this is something I plan to do through a look-up table.

Can anyone point me in the right direction to help me achieve creating a shape and getting the points within it? It doesn’t have to use the splines package.

Thanks.