org.das2.graph.Painter

interface for objects that can paint on a graphics context from the canvas. We introduce the interface so that objects can be painted without having the overhead of full Swing components.


paint

paint( java.awt.Graphics2D g ) → void

the graphics context, in the canvas coordinates, is provided for additional painting.

Parameters

g - the graphics context.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]