public class IAttribute
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
IColor |
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
|
float |
size
object's size, used as point size or etc
|
IColor |
stroke
object's stroek color; for wireframe + fill surface
|
ITexture |
texture
object's texture (only for surface)
|
boolean |
visible
visibility switch of the object
|
float |
weight
object's line weight
|
Constructor and Description |
---|
IAttribute() |
IAttribute(IAttribute attr) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
awtColor() |
IColor |
clr() |
IAttribute |
clr(java.awt.Color c) |
IAttribute |
clr(java.awt.Color c,
double alpha) |
IAttribute |
clr(java.awt.Color c,
float alpha) |
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(IColor c) |
IAttribute |
clr(IColor c,
double alpha) |
IAttribute |
clr(IColor c,
float alpha) |
IAttribute |
clr(IColor c,
int alpha) |
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 |
color() |
IAttribute |
cp() |
IAttribute |
dup() |
java.awt.Color |
getAWTColor() |
IColor |
getColor() |
void |
hide() |
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) |
boolean |
isVisible() |
IAttribute |
merge(IAttribute attr) |
IAttribute |
set(IAttribute attr) |
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) |
IAttribute |
setWeight(float w) |
void |
show() |
java.lang.String |
toString() |
boolean |
visible() |
IAttribute |
visible(boolean v) |
float |
weight() |
IAttribute |
weight(double w) |
IAttribute |
weight(float w) |
public int id
public java.lang.String name
public ILayer layer
public IColor color
public IColor stroke
public float size
public float weight
public IMaterial material
public ITexture texture
public boolean visible
public IAttribute()
public IAttribute(IAttribute attr)
public IAttribute dup()
public IAttribute cp()
public IAttribute set(IAttribute attr)
public IAttribute merge(IAttribute attr)
public void show()
public void hide()
public IAttribute visible(boolean v)
public boolean visible()
public boolean isVisible()
public java.awt.Color color()
public java.awt.Color awtColor()
public IColor clr()
public IAttribute clr(IColor c)
public IAttribute clr(IColor c, int alpha)
public IAttribute clr(IColor c, float alpha)
public IAttribute clr(IColor c, double alpha)
public IAttribute clr(java.awt.Color c)
public IAttribute clr(java.awt.Color c, int alpha)
public IAttribute clr(java.awt.Color c, float alpha)
public IAttribute clr(java.awt.Color c, double 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 float weight()
public IAttribute weight(float w)
public IAttribute weight(double w)
public java.awt.Color getAWTColor()
public IColor 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)
public IAttribute setWeight(float w)
public java.lang.String toString()
toString
in class java.lang.Object