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 HColorSimpleasMonochrome()UBackgroundbg()doubledistance(HColorSimple other)booleanequals(java.lang.Object other)java.awt.ColorgetColor999()inthashCode()HColorSimpleopposite()java.lang.StringtoString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin 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()
-
-