Klasse ColorProvider.DisplayColors
java.lang.Object
io.jenkins.plugins.coverage.model.visualization.colorization.ColorProvider.DisplayColors
- Umschließende Klasse:
ColorProvider
Wraps the fill color and the line color that should be used in order to visualize coverage values.
- Autor:
- Florian Orendi
-
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()
-
Konstruktordetails
-
DisplayColors
Creates a wrapper for the colors used for displaying values.- Parameter:
lineColor
- The used line colorfillColor
- The used fill color
-
-
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
public int hashCode()
-