Package org.opensourcephysics.tools
Class DataToolTab.DataToolPlotter.SlopeLine
java.lang.Object
java.awt.geom.Line2D
java.awt.geom.Line2D.Double
org.opensourcephysics.tools.DataToolTab.DataToolPlotter.SlopeLine
- All Implemented Interfaces:
Shape
,Serializable
,Cloneable
- Enclosing class:
- DataToolTab.DataToolPlotter
An inner class to draw a slope line on the measured point.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.geom.Line2D
Line2D.Double, Line2D.Float
-
Field Summary
Fields inherited from class java.awt.geom.Line2D.Double
x1, x2, y1, y2
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.geom.Line2D.Double
getBounds2D, getP1, getP2, getX1, getX2, getY1, getY2, setLine
Methods inherited from class java.awt.geom.Line2D
clone, contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine
-
Constructor Details
-
SlopeLine
protected SlopeLine()
-
-
Method Details
-
draw
Draws this slope line on the specified Graphics.- Parameters:
g
- the Graphics object
-