public class SymbolShape extends Object implements Shape
| Constructor and Description |
|---|
SymbolShape() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y) |
boolean |
contains(double x,
double y,
double w,
double h) |
boolean |
contains(Point2D p) |
boolean |
contains(Rectangle2D r) |
void |
create(int symbol,
double x,
double y,
double size)
Type must be one of the symbols defined in VectorGraphicsConstants except
TYPE_CIRCLE.
|
Rectangle |
getBounds() |
Rectangle2D |
getBounds2D() |
PathIterator |
getPathIterator(AffineTransform t) |
PathIterator |
getPathIterator(AffineTransform at,
double flatness) |
boolean |
intersects(double x,
double y,
double w,
double h)
Returns true, if at least one of the points is contained by the shape.
|
boolean |
intersects(Rectangle2D r) |
String |
toString() |
public boolean contains(double x,
double y,
double w,
double h)
public boolean contains(Rectangle2D r)
public boolean intersects(double x,
double y,
double w,
double h)
intersects in interface Shapepublic boolean intersects(Rectangle2D r)
intersects in interface Shapepublic PathIterator getPathIterator(AffineTransform at, double flatness)
getPathIterator in interface Shapepublic Rectangle2D getBounds2D()
getBounds2D in interface Shapepublic PathIterator getPathIterator(AffineTransform t)
getPathIterator in interface Shapepublic void create(int symbol,
double x,
double y,
double size)
VectorGraphicsConstantsCopyright © 2014. All rights reserved.