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, visiblepublic 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 IGraphicObjectpublic float getWeight()
getWeight in class IGraphicObjectpublic void draw(IGraphics g)
draw in interface IGraphicIdraw in class IGraphicObjectpublic boolean isDrawable(IGraphicMode m)
isDrawable in interface IGraphicIisDrawable in class IGraphicObject