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

class figure {#class-figure}

A figure defines -like a device- a collection of graphicals. In addition of class device, a figure offers:

| ->clip_area      | Clip graphicals to this area |
| ->pen, ->texture | Draw a box around the figure |
| ->background     | Fill the background          |
| ->rotate         | Transform the image          |
| ->scale          | Transform the image          |
| ->shear          | Transform the image          |

@see class device @see class transform @see class elevation @see class spatial

Instance variables {#class-figure-instvars}

Send methods {#class-figure-send}

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