net.refractions.udig.mapgraphic
Interface MapGraphic

All Known Implementing Classes:
GridMapGraphic, ScalebarMapGraphic

public interface MapGraphic

An object which draws a graphic on a map.

Since:
0.6.0
Author:
Justin Deoliveira, Refractions Research Inc.

Field Summary
static java.lang.String XPID
          extension point id
 
Method Summary
 void draw(MapGraphicContext context)
          Draws the graphic.
 

Field Detail

XPID

static final java.lang.String XPID
extension point id

See Also:
Constant Field Values
Method Detail

draw

void draw(MapGraphicContext context)
Draws the graphic. Check the clip area of the ViewportGraphics object to determine what area needs to be refreshed.

Parameters:
context - The drawing context.