An arc object is a graphical object that represents part of an ellipse. An arc is a subclass of class joint and thus may have arrows at either end. Arcs may be used to construct piecharts as well as to display a bounded connection line.
The basic representation of an arc consists of
arc ->positionPosition of the center arc ->sizeWidth and height of the ellipse arc ->start_angleDegrees of starting angle arc ->size_angleDegrees of angle (> 0 and < 0) arc ->closeDescribes how the arc is closed
This basic specification is satisfactory for the specification of
pie-charts. The method arc->points
is useful for creating bounded lines from one point to another. The
method arc->connect_angle
is useful to relate two lines with an arc (like in and/or trees).
->fill
does not equal @nil.
<-start
to arc<-end
are displayed
<-start
and arc<-end
to arc<-position
are displayed.
|{foreground,background}*->close:
->close
is none no line is painted around the straight edges of the slice.
<-start
and
arc<-end
and the arc.
->position
describes the center of the ellipse the arc is part of.->size
describes the width and height of the ellipse the arc is part of. Note
that (currently) the axes of the ellipse are always horizontal and
vertical.The position of the starting point may be requested with arc<-start.
<-area
from the principal representation. The graphical<-area
is defined to be the bounding box of the arc.->position
of the arc will be located are the line<-intersection
of the two lines. The
arc<-start_angle
will make the arc start at the first line. The
arc<-size_angle
will connect it to the second line.
This method may be used to paint and/or trees.
->start_angle->size), arc->start_angle
and
arc->size_angle.
Both angles are in degrees and measured counter-clockwise.
The default radius is determined by arc.radius.
The default
arc->start_angle
is 0 and the default arc->size_angle
is 90.
->width
and graphical->height.->end_angle
<-width
Bugs: Not properly defined if graphical<-width
is not equal to graphical<-height