Modifier and Type | Class and Description |
---|---|
static class |
ArrowShape.ArrowStyle |
Constructor and Description |
---|
ArrowShape() |
ArrowShape(ArrowShape.ArrowStyle _style) |
ArrowShape(ArrowShape.ArrowStyle _style,
double _length) |
Modifier and Type | Method and Description |
---|---|
ArrowShape |
clone()
Return a new Arrow object, with identical properties that of the caller.
|
boolean |
contains(double x,
double y) |
boolean |
contains(double x,
double y,
double w,
double h) |
boolean |
contains(Point2D p) |
boolean |
contains(Rectangle2D r) |
Rectangle |
getBounds() |
Rectangle2D |
getBounds2D() |
Point2D |
getEndPoint() |
double |
getLength() |
PathIterator |
getPathIterator(AffineTransform at) |
PathIterator |
getPathIterator(AffineTransform at,
double flatness) |
Point2D |
getStartPoint() |
ArrowShape.ArrowStyle |
getStyle() |
boolean |
intersects(double x,
double y,
double w,
double h) |
boolean |
intersects(Rectangle2D r) |
void |
setEndPoint(Point2D end) |
void |
setLength(double _length) |
void |
setStartPoint(Point2D start) |
void |
setStyle(ArrowShape.ArrowStyle _style) |
String |
toString() |
public ArrowShape()
public ArrowShape(ArrowShape.ArrowStyle _style)
public ArrowShape(ArrowShape.ArrowStyle _style, double _length)
public ArrowShape clone()
public void setStartPoint(Point2D start)
public Point2D getStartPoint()
public void setEndPoint(Point2D end)
public Point2D getEndPoint()
public void setLength(double _length)
public double getLength()
public ArrowShape.ArrowStyle getStyle()
public void setStyle(ArrowShape.ArrowStyle _style)
public boolean contains(Rectangle2D r)
public boolean contains(double x, double y, double w, double h)
public Rectangle2D getBounds2D()
getBounds2D
in interface Shape
public PathIterator getPathIterator(AffineTransform at)
getPathIterator
in interface Shape
public PathIterator getPathIterator(AffineTransform at, double flatness)
getPathIterator
in interface Shape
public boolean intersects(Rectangle2D r)
intersects
in interface Shape
public boolean intersects(double x, double y, double w, double h)
intersects
in interface Shape
Copyright © 2015–2021 Fiji. All rights reserved.