Gephi Toolkit Javadoc

org.gephi.preview.api
Interface Color


public interface Color

Interface of a color.

Author:
Jérémy Subtil

Method Summary
 java.lang.Integer getBlue()
          Returns the blue component.
 java.lang.Integer getGreen()
          Returns the green component.
 java.lang.Integer getRed()
          Returns the red component.
 java.lang.String toHexString()
          Formats the color as an hex string.
 

Method Detail

getRed

java.lang.Integer getRed()
Returns the red component.

Returns:
the red component

getGreen

java.lang.Integer getGreen()
Returns the green component.

Returns:
the green component

getBlue

java.lang.Integer getBlue()
Returns the blue component.

Returns:
the blue component

toHexString

java.lang.String toHexString()
Formats the color as an hex string.

Returns:
the color formatted as an hex string

Gephi Toolkit Javadoc