toyGraphics / com.anysolo.toyGraphics / Color

Color

class Color

Rgb color. You can create any color from red, green and blue values. RGB values should from in 0..255 range.

Constructors

<init>

Color(r: Int, g: Int, b: Int)

Rgb color. You can create any color from red, green and blue values. RGB values should from in 0..255 range.

Properties

blue

val blue: Int

green

val green: Int

red

val red: Int

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String