Is there a tool to fill a 2D contour?

Hi, all.
I have a segmentation result like this:


I want to fill this 2D mask with the 2D contour. Is there any way to finish that?

What tool are you using to draw the outline? If you use the draw tool, right click to fill inside the contour.

I used the Paint tool, and I should change it to Draw. Thanks.