public abstract class ScalebarDrawer
extends java.lang.Object
| Constructor and Description |
|---|
ScalebarDrawer(java.awt.Graphics2D graphics2d,
ScaleBarRenderSettings settings)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw()
Start the rendering of the scalebar.
|
protected abstract void |
drawBar()
Draws the bar itself.
|
java.awt.Graphics2D |
getGraphics2d() |
ScalebarAttribute.ScalebarAttributeValues |
getParams() |
ScaleBarRenderSettings |
getSettings() |
public ScalebarDrawer(java.awt.Graphics2D graphics2d,
ScaleBarRenderSettings settings)
graphics2d - The graphics context.settings - Parameters for rendering the scalebar.public final void draw()
protected abstract void drawBar()
public final java.awt.Graphics2D getGraphics2d()
public final ScaleBarRenderSettings getSettings()
public final ScalebarAttribute.ScalebarAttributeValues getParams()