Retrieves the current fill mode on the Graphics object.
public final boolean getOpaque()
Returns true if the background color should be used as a fill before drawing; otherwise, returns false.
See Also setOpaque