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(float px,
float py)
Returns true if this shape contains the specified point.
|
boolean |
contains(float rx,
float ry,
float rw,
float rh)
Returns true if this shape completely contains the specified rectangle.
|
boolean |
intersects(float rx,
float ry,
float rw,
float 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(float px, float py)
IShape
public boolean contains(float rx, float ry, float rw, float rh)
IShape
public boolean intersects(float rx, float ry, float rw, float 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.