org.apache.fop.datatypes
Class ColorType


public class ColorType

a colour quantity in XSL


Field Summary
 (package private) final static String[]names
           
 (package private) final static int[][]vals
           

Constructor Summary
ColorType(float red, float green, float blue)
           
ColorType(String value)
          set the colour given a particular String specifying either a colour name or #RGB or #RRGGBB

Method Summary
 floatalpha()
           
 floatblue()
           
 floatgreen()
           
 floatred()
           

Field Detail

names

final static String[] names

vals

final static int[][] vals
Constructor Detail

ColorType

public ColorType(float red, float green, float blue)

ColorType

public ColorType(String value)
set the colour given a particular String specifying either a colour name or #RGB or #RRGGBB
Method Detail

alpha

public float alpha()

blue

public float blue()

green

public float green()

red

public float red()

Association Links

to Class java.lang.String