public class IVectorGraphic extends IGraphicObject
Modifier and Type | Field and Description |
---|---|
static IVec |
arrowHeadNormal |
static IVec |
arrowHeadNormal2 |
float |
size |
IVectorObject |
vec |
float |
weight |
color, colorRange1f, colorRange1i, colorRange2f, colorRange2i, colorRange3f, colorRange3i, colorRange4f, colorRange4i, parent, update, visible
Constructor and Description |
---|
IVectorGraphic(IVectorObject v) |
Modifier and Type | Method and Description |
---|---|
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
|
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
public static IVec arrowHeadNormal
public static IVec arrowHeadNormal2
public IVectorObject vec
public float size
public float weight
public IVectorGraphic(IVectorObject v)
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