Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## igeo
Class IAttribute

    java.lang.Object
      igeo.IAttribute

    public class IAttribute

extends java.lang.Object

A super class of misc attributes of IObject, mostly graphic related.

Version:
  0.7.0.0;
Author:
  Satoru Sugihara

Field Summary
`java.awt.Color` | `color` object's color
`int` | `id` ID integer of the object
`ILayer` | `layer` object's layer
`IMaterial` | `material` object's render material
`java.lang.String` | `name` object's name
`double` | `size` object's size, used as point size or etc
`boolean` | `visible` visibility switch of the object
`double` | `weight` object's line weight

Constructor Summary
`IAttribute()`

Method Summary
`java.awt.Color` | `clr()`
`IAttribute` | `clr(java.awt.Color c)`
`IAttribute` | `clr(java.awt.Color c, int alpha)`
`IAttribute` | `clr(double dgray)`
`IAttribute` | `clr(double dgray, double dalpha)`
`IAttribute` | `clr(double dr, double dg, double db)`
`IAttribute` | `clr(double dr, double dg, double db, double da)`
`IAttribute` | `clr(float fgray)`
`IAttribute` | `clr(float fgray, float falpha)`
`IAttribute` | `clr(float fr, float fg, float fb)`
`IAttribute` | `clr(float fr, float fg, float fb, float fa)`
`IAttribute` | `clr(int gray)`
`IAttribute` | `clr(int gray, int alpha)`
`IAttribute` | `clr(int r, int g, int b)`
`IAttribute` | `clr(int r, int g, int b, int a)`
`java.awt.Color` | `getColor()`
`IAttribute` | `hsb(double h, double s, double b)`
`IAttribute` | `hsb(double h, double s, double b, double a)`
`IAttribute` | `hsb(float h, float s, float b)`
`IAttribute` | `hsb(float h, float s, float b, float a)`
`IAttribute` | `setColor(java.awt.Color c)`
`IAttribute` | `setColor(double dgray)`
`IAttribute` | `setColor(double dgray, double dalpha)`
`IAttribute` | `setColor(double dr, double dg, double db)`
`IAttribute` | `setColor(double dr, double dg, double db, double da)`
`IAttribute` | `setColor(float fgray)`
`IAttribute` | `setColor(float fgray, float falpha)`
`IAttribute` | `setColor(float fr, float fg, float fb)`
`IAttribute` | `setColor(float fr, float fg, float fb, float fa)`
`IAttribute` | `setColor(int gray)`
`IAttribute` | `setColor(int gray, int alpha)`
`IAttribute` | `setColor(int r, int g, int b)`
`IAttribute` | `setColor(int r, int g, int b, int a)`
`IAttribute` | `setHSBColor(double h, double s, double b)`
`IAttribute` | `setHSBColor(double h, double s, double b, double a)`
`IAttribute` | `setHSBColor(float h, float s, float b)`
`IAttribute` | `setHSBColor(float h, float s, float b, float a)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### id

    public int id

  ID integer of the object

### name

    public java.lang.String name

  object's name

### layer

    public ILayer layer

  object's layer

### color

    public java.awt.Color color

  object's color

### size

    public double size

  object's size, used as point size or etc

### weight

    public double weight

  object's line weight

### material

    public IMaterial material

  object's render material

### visible

    public boolean visible

  visibility switch of the object

Constructor Detail

### IAttribute

    public IAttribute()

Method Detail

### clr

    public java.awt.Color clr()

### clr

    public IAttribute clr(java.awt.Color c)

### clr

    public IAttribute clr(java.awt.Color c,
                          int alpha)

### clr

    public IAttribute clr(int gray)

### clr

    public IAttribute clr(float fgray)

### clr

    public IAttribute clr(double dgray)

### clr

    public IAttribute clr(int gray,
                          int alpha)

### clr

    public IAttribute clr(float fgray,
                          float falpha)

### clr

    public IAttribute clr(double dgray,
                          double dalpha)

### clr

    public IAttribute clr(int r,
                          int g,
                          int b)

### clr

    public IAttribute clr(float fr,
                          float fg,
                          float fb)

### clr

    public IAttribute clr(double dr,
                          double dg,
                          double db)

### clr

    public IAttribute clr(int r,
                          int g,
                          int b,
                          int a)

### clr

    public IAttribute clr(float fr,
                          float fg,
                          float fb,
                          float fa)

### clr

    public IAttribute clr(double dr,
                          double dg,
                          double db,
                          double da)

### hsb

    public IAttribute hsb(float h,
                          float s,
                          float b,
                          float a)

### hsb

    public IAttribute hsb(double h,
                          double s,
                          double b,
                          double a)

### hsb

    public IAttribute hsb(float h,
                          float s,
                          float b)

### hsb

    public IAttribute hsb(double h,
                          double s,
                          double b)

### getColor

    public java.awt.Color getColor()

### setColor

    public IAttribute setColor(java.awt.Color c)

### setColor

    public IAttribute setColor(int gray)

### setColor

    public IAttribute setColor(float fgray)

### setColor

    public IAttribute setColor(double dgray)

### setColor

    public IAttribute setColor(int gray,
                               int alpha)

### setColor

    public IAttribute setColor(float fgray,
                               float falpha)

### setColor

    public IAttribute setColor(double dgray,
                               double dalpha)

### setColor

    public IAttribute setColor(int r,
                               int g,
                               int b)

### setColor

    public IAttribute setColor(float fr,
                               float fg,
                               float fb)

### setColor

    public IAttribute setColor(double dr,
                               double dg,
                               double db)

### setColor

    public IAttribute setColor(int r,
                               int g,
                               int b,
                               int a)

### setColor

    public IAttribute setColor(float fr,
                               float fg,
                               float fb,
                               float fa)

### setColor

    public IAttribute setColor(double dr,
                               double dg,
                               double db,
                               double da)

### setHSBColor

    public IAttribute setHSBColor(float h,
                                  float s,
                                  float b,
                                  float a)

### setHSBColor

    public IAttribute setHSBColor(double h,
                                  double s,
                                  double b,
                                  double a)

### setHSBColor

    public IAttribute setHSBColor(float h,
                                  float s,
                                  float b)

### setHSBColor

    public IAttribute setHSBColor(double h,
                                  double s,
                                  double b)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD