Package com.atlassian.jira.lookandfeel
Class ImageInfo
java.lang.Object
com.atlassian.jira.lookandfeel.ImageInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HSBColor
getAverageColor
(HSBColor... colors) getAverageColorWithHue
(int hue) getFirstNonMonochromeColor
(float minPercentage) getMostInterestingColorWithHue
(int hue) float
static List<ColorCount>
getSimilarColorRatio
(HSBColor... colors) static boolean
isMonochrome
(HSBColor color) boolean
static boolean
boolean
boolean
static boolean
isWhiteOrCloseEnough
(HSBColor color)
-
Constructor Details
-
ImageInfo
-
-
Method Details
-
getTopLeftPixel
-
getTopRightPixel
-
getBottomLeftPixel
-
getBottomRightPixel
-
getColorRatio
-
getColorRatioAsMap
-
getSimilarColorRatio
-
getFirstNonMonochromeColor
-
getMostCommonHue
-
getMostInterestingColorWithHue
-
getAverageColorWithHue
-
getAverageColour
-
getAverageColor
-
getPercentageTransparent
public float getPercentageTransparent() -
isTransparentBackground
public boolean isTransparentBackground() -
getBackgroundColor
-
isMostlyWhite
public boolean isMostlyWhite() -
isWhiteOrCloseEnough
-
isTooBrightForWhiteBackground
public boolean isTooBrightForWhiteBackground() -
getPredominantColor
-
isMonochrome
-
isSimilar
-