mapnik
Class Color

java.lang.Object
  extended by mapnik.Color

public class Color
extends java.lang.Object

A mapnik color. This is a pure java class which is converted to a mapnik::color on the native side.

Author:
stella

Constructor Summary
Color()
           
Color(int red, int green, int blue)
           
Color(int red, int green, int blue, int alpha)
           
 
Method Summary
 int getAlpha()
           
 int getBlue()
           
 int getGreen()
           
 int getRed()
           
 void setAlpha(int alpha)
           
 void setBlue(int blue)
           
 void setGreen(int green)
           
 void setRed(int red)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Color

public Color(int red,
             int green,
             int blue,
             int alpha)

Color

public Color()

Color

public Color(int red,
             int green,
             int blue)
Method Detail

getRed

public int getRed()

setRed

public void setRed(int red)

getGreen

public int getGreen()

setGreen

public void setGreen(int green)

getBlue

public int getBlue()

setBlue

public void setBlue(int blue)

getAlpha

public int getAlpha()

setAlpha

public void setAlpha(int alpha)