The goog.graphics.SolidFill Class

goog.graphics.SolidFill
> goog.graphics.Fill

goog.graphics.SolidFill(color, opt_opacity)

Creates an immutable solid color fill object.

color {string}
The color of the background.
opt_opacity {number=}
The opacity of the background fill. The value must be greater than or equal to zero (transparent) and less than or equal to 1 (opaque).

.getColor()

returns {string}
The color of this fill.

.getOpacity()

returns {number}
The opacity of this fill.