Class HColorSimple
java.lang.Object
net.sourceforge.plantuml.klimt.color.HColor
net.sourceforge.plantuml.klimt.color.HColorSimple
- All Implemented Interfaces:
UChange
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sourceforge.plantuml.klimt.color.HColor
HColor.TransparentFillBehavior
-
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) withTransparentFillBehavior
(HColor.TransparentFillBehavior transparentFillBehavior) 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
-
transparentFillBehavior
- Overrides:
transparentFillBehavior
in classHColor
-
create
-
getAwtColor
-
asMonochrome
-
asMonochrome
-
toColor
-
unlinear
-
opposite
-
distanceTo
-
isGray
public boolean isGray() -
withDark
-
withTransparentFillBehavior
- Overrides:
withTransparentFillBehavior
in classHColor
-
darkSchemeTheme
- Overrides:
darkSchemeTheme
in classHColor
-