set-pen in dc<%>
Sets the current pen for this object.
The current pen does not affect text drawing; see also
set-text-foreground.
While a pen is selected into a drawing context, it cannot be modified.
(-> voidsenda-dcset-penpen)
pen:pen%objectInstalls the given pen as the current pen.
(-> voidsenda-dcset-pencolorwidthstyle)
color:color%object
width: real number in [0, 255]
style: symbol in'(transparent solid xor hilite dot long-dash short-dash dot-dash xor-dot xor-long-dash xor-short-dash xor-dot-dash)Obtains a pen by providing all arguments to
the-pen-list'sfind-or-create-penmethod and installs the result as the current pen.
(-> voidsenda-dcset-pencolor-namewidthstyle)
color-name: string
width: real number in [0, 255]
style: symbol in'(transparent solid xor hilite dot long-dash short-dash dot-dash xor-dot xor-long-dash xor-short-dash xor-dot-dash)Obtains a pen by providing all arguments to
the-pen-list'sfind-or-create-penmethod. If a pen is returned, it is installed as the current pen. Otherwise, the color must be bad, so anexn:fail:contractexception is raised