physicon.graphLib
Class LinearGridDrawer
java.lang.Object
|
+--physicon.graphLib.DrawerBase
|
+--physicon.graphLib.ScaleDrawerBase
|
+--physicon.graphLib.LinearGridDrawer
- public class LinearGridDrawer
- extends ScaleDrawerBase
The drawer object for the linear grid
- See Also:
ScaleDrawerBase
Method Summary |
void |
drawLocal(java.awt.Graphics g)
Draws the grid to the given Graphics object.
|
java.awt.Rectangle |
getLocalRoughRect()
Returns the local rough rect |
void |
reset()
Resets the current object |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
minOffset
public java.awt.Point minOffset
maxOffset
public java.awt.Point maxOffset
LinearGridDrawer
public LinearGridDrawer()
- Constructor
LinearGridDrawer
public LinearGridDrawer(java.awt.Color _c)
drawLocal
public void drawLocal(java.awt.Graphics g)
- Draws the grid to the given Graphics object.
Grid is the line set. Each line started at
the point getDash()+minOffset and finished
at the point getDash()+maxOffset
- Parameters:
g
- - given Graphics object- Overrides:
- drawLocal in class DrawerBase
getLocalRoughRect
public java.awt.Rectangle getLocalRoughRect()
- Returns the local rough rect
- Overrides:
- getLocalRoughRect in class DrawerBase
reset
public void reset()
- Resets the current object
- Overrides:
- reset in class ScaleDrawerBase