goog.ui.GaugeTheme
Classgoog.ui.GaugeTheme()
A class for the default color theme for a Gauge. Users can extend this class to provide a custom color theme, and apply the custom color theme by calling {@link goog.ui.Gauge#setTheme}.
.getExternalBorderFill(cx, cy, r)
Returns the fill for the external border of the gauge.
cx
{number
}
cy
{number
}
r
{number
}
goog.graphics.Fill
}
.getExternalBorderStroke()
Returns the stroke for the external border of the gauge.
goog.graphics.Stroke
}
.getHingeFill(cx, cy, r)
Returns the fill for the hinge at the center of the gauge.
cx
{number
}
cy
{number
}
r
{number
}
goog.graphics.Fill
}
.getHingeStroke()
Returns the stroke for the hinge at the center of the gauge.
goog.graphics.Stroke
}
.getInternalBorderFill(cx, cy, r)
Returns the fill for the internal border of the gauge.
cx
{number
}
cy
{number
}
r
{number
}
goog.graphics.Fill
}
.getInternalBorderStroke()
Returns the stroke for the internal border of the gauge.
goog.graphics.Stroke
}
.getMajorTickStroke()
Returns the stroke for the major ticks of the gauge.
goog.graphics.Stroke
}
.getMinorTickStroke()
Returns the stroke for the minor ticks of the gauge.
goog.graphics.Stroke
}
.getNeedleFill(cx, cy, r)
Returns the fill for the hinge at the center of the gauge.
cx
{number
}
cy
{number
}
r
{number
}
goog.graphics.Fill
}
.getNeedleStroke()
Returns the stroke for the gauge needle.
goog.graphics.Stroke
}
.getTickLabelColor()
Returns the color for the labels (formatted values) of tick marks.
string
}
.getTitleColor()
Returns the color for the gauge title.
string
}
.getValueColor()
Returns the color for the gauge value.
string
}