Klasse ColorProvider.DisplayColors
java.lang.Object
io.jenkins.plugins.coverage.metrics.color.ColorProvider.DisplayColors
- Umschließende Klasse:
ColorProvider
Wraps the fill color and the line color that should be used in order to visualize coverage values.
-
Konstruktorübersicht
KonstruktorBeschreibungDisplayColors
(Color lineColor, Color fillColor) Creates a wrapper for the colors used for displaying values. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
getFillColorAsRGBAHex
(int alpha) Gets the fill color with the passed alpha value.int
hashCode()
toString()
-
Konstruktordetails
-
DisplayColors
-
-
Methodendetails
-
getLineColor
-
getFillColor
-
getFillColorAsRGBAHex
Gets the fill color with the passed alpha value. Using a low alpha value might require using another line color than the providedlineColor
.- Parameter:
alpha
- The color alpha- Gibt zurück:
- the hex code which contains the alpha value
-
getLineColorAsRGBHex
-
getFillColorAsRGBHex
-
equals
-
hashCode
-
toString
-