-
public final class RGBRepresents an RGB colour (separate values of red, green and blue)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRGB.Companion
-
Method Summary
Modifier and Type Method Description final IntegertoInt()Converts this RGB colour to a single RGB integer final Integercomponent1()final Integercomponent2()final Integercomponent3()final RGBcopy(Integer red, Integer green, Integer blue)final IntegergetRed()final IntegergetGreen()final IntegergetBlue()-
-
Method Detail
-
component1
final Integer component1()
-
component2
final Integer component2()
-
component3
final Integer component3()
-
-
-
-