Fill shape

Hello I want to fill the shape.

Is it possible to draw filled shape?

For example If I draw star image as like example

I want the library to make automatically tool path for fill the star.