public static class SimpleRuler.MainRulerDrawer extends java.lang.Object implements Drawer
| Constructor and Description |
|---|
SimpleRuler.MainRulerDrawer(Canvas canvas,
javax.swing.BoundedRangeModel zoomLevel,
RulerModel rulerModel)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(DrawingTools dt)
Ask this drawer to draw with the given drawing tools.
|
boolean |
is2DView() |
public SimpleRuler.MainRulerDrawer(Canvas canvas, javax.swing.BoundedRangeModel zoomLevel, RulerModel rulerModel)
canvas - the canvas where the draw will be performed.zoomLevel - the current zoom level model.rulerModel - the current ruler model.public void draw(DrawingTools dt)
Drawer