org.das2.event.PointSlopeDragRenderer

Shows the slope from the click point to the drag point.

PointSlopeDragRenderer( org.das2.graph.DasCanvasComponent parent, org.das2.graph.DasAxis xaxis, org.das2.graph.DasAxis yaxis )

Creates a new instance of PointSlopeDragRenderer


renderDrag

renderDrag( java.awt.Graphics g1, java.awt.Point p1, java.awt.Point p2 ) → Rectangle[]

Parameters

g1 - a Graphics
p1 - a Point
p2 - a Point

Returns:

java.awt.Rectangle[][]

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