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

class line {#class-line}

Description

Straight line segment connecting two points. A line may have a ->pen (thickness) and a ->texture (dash-pattern). A line may have ->arrows on both sides, see class joint and class arrow for attaching arrows to a line.

Bugs:

There are no provisions to display a label in a line. In the application-area of PCE, this would be a useful extension.

@see class connection

Instance variables {#class-line-instvars}

Send methods {#class-line-send}

Get methods {#class-line-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.