igeo.gui
Class IVectorGraphic

java.lang.Object
  extended by igeo.IGraphicObject
      extended by 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

Field Summary
static IVec arrowHeadNormal
           
static IVec arrowHeadNormal2
           
static double defaultSize
           
static float defaultWeight
           
 double size
           
 IVectorObject vec
           
 float weight
           
 
Fields inherited from class igeo.IGraphicObject
color, defaultAlpha, defaultBlue, defaultGreen, defaultRed, parent, transparentModeAlpha, update, visible
 
Constructor Summary
IVectorGraphic(IVectorObject v)
           
 
Method Summary
 void draw(IGraphics g)
           
 boolean isDrawable(IGraphicMode m)
           
 double size()
           
 void size(double sz)
           
 
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
 

Field Detail

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
Constructor Detail

IVectorGraphic

public IVectorGraphic(IVectorObject v)
Method Detail

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