It could be an instance of Polygon. There are methods in the Graphics2D class to draw and fill these things. And to use them as the clipping region for other painting operations.

The other way...