public abstract class AbstractEllipse extends RectangularShape implements IEllipse
IEllipse
, obtaining the framing rectangle from
the derived class.Constructor and Description |
---|
AbstractEllipse() |
Modifier and Type | Method and Description |
---|---|
Ellipse |
clone()
Returns a mutable copy of this ellipse.
|
boolean |
contains(double px,
double py)
Returns true if this shape contains the specified point.
|
boolean |
contains(double rx,
double ry,
double rw,
double rh)
Returns true if this shape completely contains the specified rectangle.
|
boolean |
intersects(double rx,
double ry,
double rw,
double rh)
Returns true if this shape intersects the specified rectangle.
|
PathIterator |
pathIterator(Transform at)
Returns an iterator over the path described by this shape.
|
bounds, bounds, center, centerX, centerY, contains, contains, frame, frame, intersects, isEmpty, max, maxX, maxY, min, minX, minY, pathIterator, setFrame, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
center, centerX, centerY, frame, frame, height, max, maxX, maxY, min, minX, minY, width, x, y
bounds, bounds, contains, contains, intersects, isEmpty, pathIterator
public Ellipse clone()
IEllipse
public boolean contains(double px, double py)
IShape
public boolean contains(double rx, double ry, double rw, double rh)
IShape
public boolean intersects(double rx, double ry, double rw, double rh)
IShape
intersects
in interface IShape
public PathIterator pathIterator(Transform at)
IShape
pathIterator
in interface IShape
at
- if supplied, the points in the path are transformed using this.Copyright © 2017. All rights reserved.