org.das2.event.WaypointsDragRenderer
draw a pathway of a given width including a set of waypoints.
draws a boxed region of some vertical width along a path.
PROP_WIDTH
addWayPoint
addWayPoint( ) → void
add the current location, recorded from the last renderDrag operation, to the list of way points.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
clear
clear( java.awt.Graphics g ) → void
Parameters
g - a Graphics
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getBoundingBox
getBoundingBox( ) → java.awt.Rectangle
return a rectangle that bounds the data.
Returns:
a java.awt.Rectangle
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getWidth
getWidth( ) → int
get the vertical width in pixels.
Returns:
the vertical width
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
renderDrag
renderDrag( java.awt.Graphics g1, java.awt.Point p1, java.awt.Point p2 ) → java.awt.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]
setWidth
setWidth( int width ) → void
set the vertical width in pixels.
Parameters
width - an int
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]