de.dante.extex.backend.documentWriter.rtf
Class Rgb8Color

java.lang.Object
  extended byde.dante.extex.backend.documentWriter.rtf.Rgb8Color

public class Rgb8Color
extends java.lang.Object

This class provides a color with 8-bit RGB channels but without alpha channel.

Version:
$Revision: 1.1 $
Author:
Gerd Neugebauer

Constructor Summary
Rgb8Color(int red, int green, int blue)
          Creates a new object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getBlue()
          Getter for blue.
 int getGreen()
          Getter for green.
 int getRed()
          Getter for red.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rgb8Color

public Rgb8Color(int red,
                 int green,
                 int blue)
Creates a new object.

Parameters:
blue - the blue component
green - the green component
red - the red component
Method Detail

equals

public boolean equals(java.lang.Object obj)
See Also:
Object.equals(java.lang.Object)

getBlue

public int getBlue()
Getter for blue.

Returns:
the blue

getGreen

public int getGreen()
Getter for green.

Returns:
the green

getRed

public int getRed()
Getter for red.

Returns:
the red

hashCode

public int hashCode()
See Also:
Object.hashCode()