I know how to draw and fill normal shapes like circles, squares, etc, however, what if i want to fill in a shape that is non-standard? For instance, how would i go about trying to fill in this shape (california) with the color blue?

Filling Non Standard Shapes-891px-map_of_california_outline.svg.png

Some advice to point me in the right direction would be much appreciated. I tried reading up on Polygon class and such, but i cant seem to find any examples of filling in such complicated shapes.

thank you :)