mri.v3ds
Class Color3ds

java.lang.Object
  extended by mri.v3ds.Color3ds

public class Color3ds
extends java.lang.Object

Color definition.


Constructor Summary
Color3ds()
          Constructor, initialising the red, green and blue components.
Color3ds(float r, float g, float b)
          Constructor, initialising the red, green and blue components.
 
Method Summary
 float blue()
          Get blue component.
 float green()
          Get green component.
 float red()
          Get red component.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Color3ds

public Color3ds()
Constructor, initialising the red, green and blue components.


Color3ds

public Color3ds(float r,
                float g,
                float b)
Constructor, initialising the red, green and blue components.

Method Detail

red

public float red()
Get red component.

Returns:
red component

green

public float green()
Get green component.

Returns:
green component

blue

public float blue()
Get blue component.

Returns:
blue component