|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.cabrillo.tracker.LineFootprint
org.opensourcephysics.cabrillo.tracker.OutlineFootprint
public class OutlineFootprint
An OutlineFootprint returns an outline shape for a Point array of length 2.
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.cabrillo.tracker.LineFootprint |
|---|
color, DASHED_LINE, DOTTED_LINE, highlight, HIGHLIGHT, hitShapes, line, name, path, stroke, transform |
| Constructor Summary | |
|---|---|
OutlineFootprint(java.lang.String name)
Constructs an OutlineFootprint. |
|
| Method Summary | |
|---|---|
javax.swing.Icon |
getIcon(int w,
int h)
Gets the icon. |
java.awt.Shape |
getShape(java.awt.Point[] points)
Gets the shape of this footprint. |
int |
getSpread()
Gets the spread. |
void |
setSpread(int spread)
Sets the spread. |
void |
setStroke(java.awt.BasicStroke stroke)
Overrides LineProfile setStroke method. |
| Methods inherited from class org.opensourcephysics.cabrillo.tracker.LineFootprint |
|---|
getColor, getDisplayName, getFootprint, getHitShapes, getLength, getMark, getName, getStroke, setColor, setDashArray, setLineWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutlineFootprint(java.lang.String name)
name - the name of the footprint| Method Detail |
|---|
public void setSpread(int spread)
spread - the desired spreadpublic int getSpread()
public javax.swing.Icon getIcon(int w,
int h)
getIcon in interface FootprintgetIcon in class LineFootprintw - width of the iconh - height of the icon
public void setStroke(java.awt.BasicStroke stroke)
setStroke in interface FootprintsetStroke in class LineFootprintstroke - the desired strokepublic java.awt.Shape getShape(java.awt.Point[] points)
getShape in interface FootprintgetShape in class LineFootprintpoints - an array of Points
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||