|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IAttribute
public class IAttribute
A super class of misc attributes of IObject, mostly graphic related.
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 |
---|
public int id
public java.lang.String name
public ILayer layer
public java.awt.Color color
public double size
public double weight
public IMaterial material
public boolean visible
Constructor Detail |
---|
public IAttribute()
Method Detail |
---|
public java.awt.Color clr()
public IAttribute clr(java.awt.Color c)
public IAttribute clr(java.awt.Color c, int alpha)
public IAttribute clr(int gray)
public IAttribute clr(float fgray)
public IAttribute clr(double dgray)
public IAttribute clr(int gray, int alpha)
public IAttribute clr(float fgray, float falpha)
public IAttribute clr(double dgray, double dalpha)
public IAttribute clr(int r, int g, int b)
public IAttribute clr(float fr, float fg, float fb)
public IAttribute clr(double dr, double dg, double db)
public IAttribute clr(int r, int g, int b, int a)
public IAttribute clr(float fr, float fg, float fb, float fa)
public IAttribute clr(double dr, double dg, double db, double da)
public IAttribute hsb(float h, float s, float b, float a)
public IAttribute hsb(double h, double s, double b, double a)
public IAttribute hsb(float h, float s, float b)
public IAttribute hsb(double h, double s, double b)
public java.awt.Color getColor()
public IAttribute setColor(java.awt.Color c)
public IAttribute setColor(int gray)
public IAttribute setColor(float fgray)
public IAttribute setColor(double dgray)
public IAttribute setColor(int gray, int alpha)
public IAttribute setColor(float fgray, float falpha)
public IAttribute setColor(double dgray, double dalpha)
public IAttribute setColor(int r, int g, int b)
public IAttribute setColor(float fr, float fg, float fb)
public IAttribute setColor(double dr, double dg, double db)
public IAttribute setColor(int r, int g, int b, int a)
public IAttribute setColor(float fr, float fg, float fb, float fa)
public IAttribute setColor(double dr, double dg, double db, double da)
public IAttribute setHSBColor(float h, float s, float b, float a)
public IAttribute setHSBColor(double h, double s, double b, double a)
public IAttribute setHSBColor(float h, float s, float b)
public IAttribute setHSBColor(double h, double s, double b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |