org.cresques.px.dxf
Class AcadColor

java.lang.Object
  extended byorg.cresques.px.dxf.AcadColor

public class AcadColor
extends java.lang.Object

Colores RGB a partir de códigos de color de AutoCAD

Author:
"Luis W. Sevilla"

Field Summary
static int BYBLOCK
           
static int BYLAYER
           
 
Constructor Summary
AcadColor(int code, double r0, double g0, double b0, double r, double g, double b)
           
 
Method Summary
static java.awt.Color getColor(int code)
           
static AcadColor[] initTable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYLAYER

public static final int BYLAYER
See Also:
Constant Field Values

BYBLOCK

public static final int BYBLOCK
See Also:
Constant Field Values
Constructor Detail

AcadColor

public AcadColor(int code,
                 double r0,
                 double g0,
                 double b0,
                 double r,
                 double g,
                 double b)
Method Detail

getColor

public static java.awt.Color getColor(int code)

initTable

public static AcadColor[] initTable()