|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object igeo.IGraphicObject igeo.gui.IVectorGraphic
public class IVectorGraphic
Graphic subobject class to draw a vector with an arrowhead
Field Summary | |
---|---|
static IVec |
arrowHeadNormal
|
static IVec |
arrowHeadNormal2
|
float |
size
|
IVectorObject |
vec
|
float |
weight
|
Fields inherited from class igeo.IGraphicObject |
---|
color, colorRange1f, colorRange1i, colorRange2f, colorRange2i, colorRange3f, colorRange3i, colorRange4f, colorRange4i, parent, update, visible |
Constructor Summary | |
---|---|
IVectorGraphic(IVectorObject v)
|
Method Summary | |
---|---|
void |
draw(IGraphics g)
|
float |
getWeight()
get arrow line weight |
boolean |
isDrawable(IGraphicMode m)
|
void |
setWeight(float w)
set arrow line weight |
double |
size()
get arrow head size |
void |
size(double sz)
set arrow head size |
Methods inherited from class igeo.IGraphicObject |
---|
getAWTColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getHSBColor, getHSBColor, hide, isVisible, parent, parent, setAttribute, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setHSBColor, setHSBColor, setVisible, show, update, visible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static IVec arrowHeadNormal
public static IVec arrowHeadNormal2
public IVectorObject vec
public float size
public float weight
Constructor Detail |
---|
public IVectorGraphic(IVectorObject v)
Method Detail |
---|
public void size(double sz)
public double size()
public void setWeight(float w)
setWeight
in class IGraphicObject
public float getWeight()
getWeight
in class IGraphicObject
public void draw(IGraphics g)
draw
in interface IGraphicI
draw
in class IGraphicObject
public boolean isDrawable(IGraphicMode m)
isDrawable
in interface IGraphicI
isDrawable
in class IGraphicObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |