Class HColorSimple
java.lang.Object
net.sourceforge.plantuml.ugraphic.color.HColorSimple
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMonochrome
(HColorSimple colorForMonochrome, double minGray, double maxGray) asString()
bg()
darken
(int ratio) double
distance
(HColorSimple other) boolean
int
hashCode()
boolean
isDark()
boolean
isGray()
final boolean
boolean
lighten
(int ratio) opposite()
reverse()
toString()
static HColorSimple
unlinear
(HColorSimple color1, HColorSimple color2, int completionInt)
-
Constructor Details
-
HColorSimple
-
-
Method Details
-
hashCode
public int hashCode() -
toString
-
asString
-
lighten
-
darken
-
reverseHsluv
- Specified by:
reverseHsluv
in interfaceHColor
-
reverse
-
isDark
public boolean isDark() -
isTransparent
public boolean isTransparent() -
equals
-
getColor999
-
asMonochrome
-
asMonochrome
-
opposite
-
distance
-
isMonochrome
public final boolean isMonochrome() -
isGray
public boolean isGray() -
unlinear
-
withDark
-
darkSchemeTheme
- Specified by:
darkSchemeTheme
in interfaceHColor
-
bg
-