Package com.sksamuel.scrimage.color
Class Grayscale
- java.lang.Object
-
- com.sksamuel.scrimage.color.Grayscale
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
RGBColor
toRGB()
Returns a conversion of this Color into an RGBColor.
-
-
-
Method Detail
-
toRGB
public RGBColor toRGB()
Description copied from interface:Color
Returns a conversion of this Color into an RGBColor. If this colour is already an instance of RGBColor then the same instance will be returned.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-