public abstract class AbstractRoundRectangle extends RectangularShape implements IRoundRectangle
IRoundRectangle
, obtaining the framing rectangle
from the derived class.Constructor and Description |
---|
AbstractRoundRectangle() |
Modifier and Type | Method and Description |
---|---|
RoundRectangle |
clone()
Returns a mutable copy of this round rectangle.
|
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
arcHeight, arcWidth
center, centerX, centerY, frame, frame, height, max, maxX, maxY, min, minX, minY, width, x, y
bounds, bounds, contains, contains, intersects, isEmpty, pathIterator
public RoundRectangle clone()
IRoundRectangle
clone
in interface IRoundRectangle
clone
in class Object
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.