Class Cor

java.lang.Object
  extended by Cor

public class Cor
extends java.lang.Object

Cores em RGB


Field Summary
(package private) static Cor AZUL
           
 int b
           
(package private) static Cor BRANCO
           
 int g
           
 int r
           
(package private) static Cor VERDE
           
(package private) static Cor VERMELHO
           
 
Method Summary
static Cor rgbDouble(double r, double g, double b)
           
static Cor rgbInt(int r, int g, int b)
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AZUL

static Cor AZUL

b

public int b

BRANCO

static Cor BRANCO

g

public int g

r

public int r

VERDE

static Cor VERDE

VERMELHO

static Cor VERMELHO
Method Detail

rgbDouble

public static Cor rgbDouble(double r,
                            double g,
                            double b)

rgbInt

public static Cor rgbInt(int r,
                         int g,
                         int b)