dguitar.codecs.guitarPro
Class GPColor

java.lang.Object
  extended bydguitar.codecs.guitarPro.GPColor

public class GPColor
extends java.lang.Object

This class describes a color read from a Guitar Pro file.

Author:
Matthieu Wipliez

Field Summary
 int blue
          The blue component.
 int green
          The green component.
 int red
          The red component.
 
Constructor Summary
GPColor()
          Creates a new Color.
GPColor(int r, int g, int b)
          Creates a new color with the specified components.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this GPColor object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

red

public int red
The red component.


green

public int green
The green component.


blue

public int blue
The blue component.

Constructor Detail

GPColor

public GPColor()
Creates a new Color.


GPColor

public GPColor(int r,
               int g,
               int b)
Creates a new color with the specified components.

Parameters:
r - the red component.
g - the green component.
b - the blue component.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this GPColor object.