public static class PolygonChartRenderer.ScaledPolygon extends Polygon
| Constructor and Description |
|---|
ScaledPolygon(double xScaleFactor,
double yScaleFactor,
int yOffset) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(double x,
double y)
Adds Point to the polygon optimising the polygon so as not to add points that can't
be seen in the graph because they are on the same pixel after scaling.
|
void |
addPointNotOptimised(double x,
double y)
Adds the given point without optimisation.
|
addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translatepublic ScaledPolygon(double xScaleFactor,
double yScaleFactor,
int yOffset)
public void addPoint(double x,
double y)
x - x-valuey - y-valuepublic void addPointNotOptimised(double x,
double y)
x - x-Valuey - y-ValueCopyright © 2019. All rights reserved.