Class HColorSimple
java.lang.Object
net.sourceforge.plantuml.klimt.color.HColor
net.sourceforge.plantuml.klimt.color.HColorSimple
- All Implemented Interfaces:
UChange
-
Method Summary
Modifier and TypeMethodDescriptionasMonochrome
(HColorSimple colorForMonochrome, double minGray, double maxGray) asString()
static HColorSimple
darken
(int ratio) int
distanceTo
(HColorSimple other) boolean
int
hashCode()
boolean
isDark()
boolean
isGray()
boolean
lighten
(int ratio) opposite()
reverse()
toColor
(ColorMapper mapper) toString()
static HColorSimple
unlinear
(HColorSimple color1, HColorSimple color2, int completionInt) Methods inherited from class net.sourceforge.plantuml.klimt.color.HColor
bg, getAppropriateColor, toRGB, toSvg
-
Method Details
-
toString
-
asString
-
equals
-
hashCode
public int hashCode() -
lighten
-
darken
-
reverseHsluv
- Overrides:
reverseHsluv
in classHColor
-
reverse
-
isDark
public boolean isDark() -
isTransparent
public boolean isTransparent()- Overrides:
isTransparent
in classHColor
-
create
-
getAwtColor
-
asMonochrome
-
asMonochrome
-
toColor
-
unlinear
-
opposite
-
distanceTo
-
isGray
public boolean isGray() -
withDark
-
darkSchemeTheme
- Overrides:
darkSchemeTheme
in classHColor
-