src/swipl-devel/packages/xpce/man/refmanual/md/arc.md

class arc {#class-arc}

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

| ->position    | Position of the center          |
| ->size        | Width and height of the ellipse |
| ->start_angle | Degrees of starting angle       |
| ->size_angle  | Degrees of angle (> 0 and < 0)  |
| ->close       | Describes how the arc is closed |

This basic specification is satisfactory for the specification of pie-charts. The method ->points is useful for creating bounded lines from one point to another. The method ->connect_angle is useful to relate two lines with an arc (like in and/or trees).

Instance variables {#class-arc-instvars}

Send methods {#class-arc-send}

Get methods {#class-arc-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.