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 HColorSimpledarken(int ratio) intdistanceTo(HColorSimple other) booleaninthashCode()booleanisDark()booleanisGray()booleanlighten(int ratio) opposite()reverse()toColor(ColorMapper mapper) toString()static HColorSimpleunlinear(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:
reverseHsluvin classHColor
-
reverse
-
isDark
public boolean isDark() -
isTransparent
public boolean isTransparent()- Overrides:
isTransparentin classHColor
-
create
-
getAwtColor
-
asMonochrome
-
asMonochrome
-
toColor
-
unlinear
-
opposite
-
distanceTo
-
isGray
public boolean isGray() -
withDark
-
darkSchemeTheme
- Overrides:
darkSchemeThemein classHColor
-