Java:Color
De W3API
Contenido |
[editar] Descripcion
Clase que sirve para representar colores RGB o colores definidos en un espacio de colores con ColorSpace.
[editar] Sintaxis
public class Color extends Object implements Paint, Serializable
[editar] Ejemplo
[editar] Campos
- black
- BLACK
- blue
- BLUE
- cyan
- CYAN
- DARK_GRAY
- darkGray
- gray
- GRAY
- green
- GREEN
- LIGHT_GRAY
- lightGray
- magenta
- MAGENTA
- orange
- ORANGE
- pink
- PINK
- red
- RED
- white
- WHITE
- yellow
- YELLOW
[editar] Constuctores
[editar] Metodos
- brighter()
- createContext()
- darker()
- decode()
- equals()
- getAlpha()
- getBlue()
- getColor()
- getColorComponents()
- getColorSpace()
- getComponents()
- getGreen()
- getHSBColor()
- getRed()
- getRGB()
- getRGBColorComponents()
- getRGBComponents()
- getTransparency()
- hashCode()
- HSBtoRGB()
- RGBtoHSB()
- toString()