Moves a line-pinboard-object.
capi
move-line line-pinboard-object start-x start-y end-x end-y &key redisplay
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. |
The generic function move-line
moves line-pinboard-object to a new location with start and end points specified by start-x, start-y, end-x and end-y.
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
.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27