|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object igeo.gui.IGraphicsJ2D
public class IGraphicsJ2D
Class of Graphics to draw 3D geometry (OpenGL or P3D)
Field Summary | |
---|---|
boolean |
firstDraw
|
IView |
view
|
Constructor Summary | |
---|---|
IGraphicsJ2D()
|
Method Summary | |
---|---|
void |
clr(float[] rgba)
fill color (array of 4 float in order of r, g, b, a) |
void |
clr(float r,
float g,
float b)
fill color (float 0-255) |
void |
clr(float r,
float g,
float b,
float a)
fill color (float 0-255) |
void |
clr(IColor c)
fill color |
void |
draw(java.util.ArrayList<IGraphicI> objects,
IView v)
|
boolean |
firstDraw()
check if this is the first time frame to draw |
void |
firstDraw(boolean f)
set the first draw flag |
void |
stroke(float[] rgba)
stroke color (array of 4 float in order of r, g, b, a) |
void |
stroke(float r,
float g,
float b)
stroke color (float 0-255) |
void |
stroke(float r,
float g,
float b,
float a)
stroke color (float 0-255) |
void |
stroke(IColor c)
stroke (line) color |
IGraphicMode.GraphicType |
type()
|
IView |
view()
|
void |
weight(float w)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public IView view
public boolean firstDraw
Constructor Detail |
---|
public IGraphicsJ2D()
Method Detail |
---|
public IGraphicMode.GraphicType type()
type
in interface IGraphics
public IView view()
view
in interface IGraphics
public void draw(java.util.ArrayList<IGraphicI> objects, IView v)
draw
in interface IGraphics
public void clr(IColor c)
IGraphics
clr
in interface IGraphics
public void clr(float[] rgba)
IGraphics
clr
in interface IGraphics
public void clr(float r, float g, float b, float a)
IGraphics
clr
in interface IGraphics
public void clr(float r, float g, float b)
IGraphics
clr
in interface IGraphics
public void stroke(IColor c)
IGraphics
stroke
in interface IGraphics
public void stroke(float[] rgba)
IGraphics
stroke
in interface IGraphics
public void stroke(float r, float g, float b, float a)
IGraphics
stroke
in interface IGraphics
public void stroke(float r, float g, float b)
IGraphics
stroke
in interface IGraphics
public void weight(float w)
weight
in interface IGraphics
public boolean firstDraw()
IGraphics
firstDraw
in interface IGraphics
public void firstDraw(boolean f)
IGraphics
firstDraw
in interface IGraphics
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |