public abstract class AbstractArc extends RectangularShape implements IArc
IArc, obtaining only the frame and other metrics
from the derived class.| Constructor and Description |
|---|
AbstractArc() |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
bounds(Rectangle target)
Initializes the supplied rectangle with this shape's bounding rectangle.
|
Arc |
clone()
Returns a mutable copy of this arc.
|
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 |
containsAngle(float angle)
Returns whether the specified angle is within the angular extents of this arc.
|
Point |
endPoint()
Returns the intersection of the ray from the center (defined by the starting angle plus the
angular extent of the arc) and the elliptical boundary of the arc.
|
Point |
endPoint(Point target)
Writes the intersection of the ray from the center (defined by the starting angle plus the
angular extent of the arc) and the elliptical boundary of the arc into
target. |
boolean |
intersects(float rx,
float ry,
float rw,
float rh)
Returns true if this shape intersects the specified rectangle.
|
boolean |
isEmpty()
Returns true if this shape encloses no area.
|
PathIterator |
pathIterator(Transform at)
Returns an iterator over the path described by this shape.
|
Point |
startPoint()
Returns the intersection of the ray from the center (defined by the starting angle) and the
elliptical boundary of the arc.
|
Point |
startPoint(Point target)
Writes the intersection of the ray from the center (defined by the starting angle) and the
elliptical boundary of the arc into
target. |
bounds, center, centerX, centerY, contains, contains, frame, frame, intersects, max, maxX, maxY, min, minX, minY, pathIterator, setFrame, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitangleExtent, angleStart, arcTypecenter, centerX, centerY, frame, frame, height, max, maxX, maxY, min, minX, minY, width, x, ybounds, contains, contains, intersects, pathIteratorpublic Point startPoint()
IArcstartPoint in interface IArcpublic Point startPoint(Point target)
IArctarget.startPoint in interface IArcpublic Point endPoint()
IArcpublic Point endPoint(Point target)
IArctarget.public boolean containsAngle(float angle)
IArccontainsAngle in interface IArcpublic Arc clone()
IArcpublic boolean isEmpty()
IShapeisEmpty in interface IShapeisEmpty in class RectangularShapepublic boolean contains(float px,
float py)
IShapepublic boolean contains(float rx,
float ry,
float rw,
float rh)
IShapepublic boolean intersects(float rx,
float ry,
float rw,
float rh)
IShapeintersects in interface IShapepublic Rectangle bounds(Rectangle target)
IShapebounds in interface IShapebounds in class RectangularShapepublic PathIterator pathIterator(Transform at)
IShapepathIterator in interface IShapeat - if supplied, the points in the path are transformed using this.Copyright © 2017. All rights reserved.