NextPrevUpTopContentsIndex

labelled-line-pinboard-object

Class
Summary

A subclass of pinboard-object which draws a labelled line.

Package

capi

Superclasses

item-pinboard-object
line-pinboard-object

Subclasses

labelled-arrow-pinboard-object

Initargs

:text-foreground

The color of the label text.

Accessors

labelled-line-text-foreground

Description

A subclass of pinboard-object which displays a line and draws a label in the middle of it.

Note that the label text is inherited from item.

Example
(capi:contain
 (make-instance 
  'capi:pinboard-layout
  :description
  (list (make-instance 
         'capi:labelled-line-pinboard-object 
         :text "Labelled Line" 
         :start-x 10 :start-y 10 
         :end-x 80 :end-y 60)
        (make-instance 
         'capi:labelled-arrow-pinboard-object 
         :text "Labelled Arrow" 
         :start-x 10 :start-y 70 
         :end-x 80 :end-y 120
         :head-direction :both))))
See also

pinboard-layout


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex