Class HColorSimple
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.color.HColorSimple
-
-
Constructor Summary
Constructors Constructor Description HColorSimple(java.awt.Color c, boolean monochrome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HColorSimple
asMonochrome()
UBackground
bg()
double
distance(HColorSimple other)
boolean
equals(java.lang.Object other)
java.awt.Color
getColor999()
int
hashCode()
HColorSimple
opposite()
java.lang.String
toString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
getColor999
public java.awt.Color getColor999()
-
asMonochrome
public HColorSimple asMonochrome()
-
opposite
public HColorSimple opposite()
-
distance
public double distance(HColorSimple other)
-
bg
public final UBackground bg()
-
-