NextPrevUpTopContentsIndex

move-line

Generic Function
Summary

Moves a line-pinboard-object.

Package

capi

Signature

move-line line-pinboard-object start-x start-y end-x end-y
&key redisplay

Arguments

line-pinboard-object

An instance of line-pinboard-object or a subclass.

start-x

The x coordinate of the start of the line.

start-y

The y coordinate of the start of the line.

end-x

The x coordinate of the end of the line.

end-y

The y coordinate of the end of the line.

redisplay

A boolean.

Description

The generic function move-line moves a line to a new location with end points specified by the corrdinate arguments.

This automatically adjusts the geometry of the object, taking into account other constraints. Examples of such constraints are the label in a labelled-line-pinboard-object and the arrowhead in a arrow-pinboard-object.

The default value of redisplay is t , which means that the changed line is redrawn immediately. If you are moving many objects at the same time, it is useful to pass :redisplay nil .

See also

line-pinboard-object
line-pinboard-object-coordinates


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex