Interface PointSetOverlay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPoint(Point point)Add a new point using the current width and color.voidaddPoint(Point point, int width)Set the current width and then add a new point.voidaddPoint(Point point, int width, java.awt.Color color)Add a new point at the given location, with the given color and width, and update the current width and color.voidaddPoint(Point point, java.awt.Color color)Set the current color and then add a new point.voidsetWidth(int width)Set the width of this overlay for future addPoint().voidsetWidthAndColor(int width, java.awt.Color color)Set color and width for this overlay for future addPoint().
-
-
-
Method Detail
-
setWidth
void setWidth(int width)
Set the width of this overlay for future addPoint().- Parameters:
width- New default width for this overlay.
-
setWidthAndColor
void setWidthAndColor(int width, java.awt.Color color)Set color and width for this overlay for future addPoint().- Parameters:
width- New default width for this overlay.color- New default color for this overlay.
-
addPoint
void addPoint(Point point)
Add a new point using the current width and color.- Parameters:
point- Position of the point to add.- See Also:
setWidth(int),Overlay.setColor(Color)
-
addPoint
void addPoint(Point point, int width)
Set the current width and then add a new point.- Parameters:
point- Position of the point to add.width- New default width for this overlay.- See Also:
setWidth(int),addPoint(Point)
-
addPoint
void addPoint(Point point, java.awt.Color color)
Set the current color and then add a new point.- Parameters:
point- Position of the point to add.color- New default color for this overlay.- See Also:
Overlay.setColor(Color),addPoint(Point)
-
addPoint
void addPoint(Point point, int width, java.awt.Color color)
Add a new point at the given location, with the given color and width, and update the current width and color.- Parameters:
point- Position of the point to add.width- New default width for this overlay.color- New default color for this overlay.- See Also:
setWidth(int),Overlay.setColor(Color),addPoint(Point)
-
-