igeo.gui
Class IVectorGraphic
java.lang.Object
igeo.IGraphicObject
igeo.gui.IVectorGraphic
- All Implemented Interfaces:
- IGraphicI, ISubobject
public class IVectorGraphic
- extends IGraphicObject
Graphic subobject class to draw a vector with an arrowhead
- Version:
- 0.7.0.0;
- Author:
- Satoru Sugihara
Methods inherited from class igeo.IGraphicObject |
getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getHSBColor, getHSBColor, hide, isVisible, parent, parent, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setHSBColor, setHSBColor, show, update, visible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultSize
public static double defaultSize
defaultWeight
public static float defaultWeight
arrowHeadNormal
public static IVec arrowHeadNormal
arrowHeadNormal2
public static IVec arrowHeadNormal2
vec
public IVectorObject vec
size
public double size
weight
public float weight
IVectorGraphic
public IVectorGraphic(IVectorObject v)
size
public void size(double sz)
size
public double size()
draw
public void draw(IGraphics g)
- Specified by:
draw
in interface IGraphicI
- Specified by:
draw
in class IGraphicObject
isDrawable
public boolean isDrawable(IGraphicMode m)
- Specified by:
isDrawable
in interface IGraphicI
- Specified by:
isDrawable
in class IGraphicObject