public interface IArc extends IRectangularShape, Cloneable
Arc
.Modifier and Type  Field and Description 

static int 
CHORD
An arc type indicating a closed curve, connected by a straight line from the starting to
the ending point of the arc.

static int 
OPEN
An arc type indicating a simple, unconnected curve.

static int 
PIE
An arc type indicating a closed curve, connected by a line from the starting point of the
arc to the center of the circle defining the arc, and another straight line from that center
to the ending point of the arc.

Modifier and Type  Method and Description 

double 
angleExtent()
Returns the angular extent of this arc.

double 
angleStart()
Returns the starting angle of this arc.

int 
arcType()
Returns the type of this arc:
OPEN , etc. 
Arc 
clone()
Returns a mutable copy of this arc.

boolean 
containsAngle(double 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 . 
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 . 
center, centerX, centerY, frame, frame, height, max, maxX, maxY, min, minX, minY, width, x, y
bounds, bounds, contains, contains, contains, contains, intersects, intersects, isEmpty, pathIterator, pathIterator
static final int OPEN
static final int CHORD
static final int PIE
int arcType()
OPEN
, etc.double angleStart()
double angleExtent()
Point startPoint()
Point startPoint(Point target)
target
.Point endPoint()
Point endPoint(Point target)
target
.boolean containsAngle(double angle)
Arc clone()
Copyright © 2017. All rights reserved.