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

class size {#class-size}

A size object represents the <-width and <-height of a (rectangular) area. Sizes are often used to communicate about sizes with graphical objects. Most graphical objects interpret sizes in pixel units. Some textual graphical object interpret them in character units.

Both the <-width and the <-height of a size may be negative. See class area for details on using negative width/height.

@see class point @see class area

Send methods {#class-size-send}



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.