org.omegahat.Graphics.Primitives
Class PolylinePrimitive

java.lang.Object
  |
  +--org.omegahat.Graphics.Primitives.GraphicalObject
        |
        +--org.omegahat.Graphics.Primitives.RGO
              |
              +--org.omegahat.Graphics.Primitives.PolypointPrimitive
                    |
                    +--org.omegahat.Graphics.Primitives.PolylinePrimitive
All Implemented Interfaces:
GraphicalComponentInt

public class PolylinePrimitive
extends PolypointPrimitive

A class for representing (unclosed) lines of an arbitray number of line segments.


Fields inherited from class org.omegahat.Graphics.Primitives.PolypointPrimitive
howDraw, xData, yData
 
Fields inherited from class org.omegahat.Graphics.Primitives.RGO
region
 
Fields inherited from class org.omegahat.Graphics.Primitives.GraphicalObject
ACTIVE, fontSize, lastDevice, lastHeightCM, lastRegion, lastWidthCM, parents, status, VISIBLE
 
Constructor Summary
PolylinePrimitive()
           
PolylinePrimitive(double[] x, double[] y)
           
PolylinePrimitive(double[] x, double[] y, int unitX, int unitY)
           
 
Methods inherited from class org.omegahat.Graphics.Primitives.PolypointPrimitive
draw, make
 
Methods inherited from class org.omegahat.Graphics.Primitives.RGO
center, centre, createRegionDescription, createRegionDescription, getRegion, height, height, setHJust, setRegion, setVJust, width, width, x, x, y, y
 
Methods inherited from class org.omegahat.Graphics.Primitives.GraphicalObject
cacheSize, getFontSize, getFontSize, getParameters, getParents, getStatus, isActive, isVisible, lastHeightCM, lastRegion, lastWidthCM, parent, parent, parents, setActive, setParameters, setParents, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolylinePrimitive

public PolylinePrimitive()

PolylinePrimitive

public PolylinePrimitive(double[] x,
                         double[] y,
                         int unitX,
                         int unitY)

PolylinePrimitive

public PolylinePrimitive(double[] x,
                         double[] y)