set-brush in dc<%>
Sets the current brush for drawing in this object. While a brush is selected into a drawing context, it cannot be modified.
(-> voidsenda-dcset-brushbrush)
brush:brush%objectInstalls the given brush as the current brush.
(-> voidsenda-dcset-brushcolorstyle)
color:color%object
style: symbol in'(transparent solid opaque xor hilite panel bdiagonal-hatch crossdiag-hatch fdiagonal-hatch cross-hatch horizontal-hatch vertical-hatch)Obtains a pen by providing all arguments to
the-pen-list'sfind-or-create-brushmethod and installs the result as the current brush.
(-> voidsenda-dcset-brushcolor-namestyle)
color-name: string
style: symbol in'(transparent solid opaque xor hilite panel bdiagonal-hatch crossdiag-hatch fdiagonal-hatch cross-hatch horizontal-hatch vertical-hatch)Obtains a brush by providing all arguments to
the-brush-list'sfind-or-create-brushmethod. If a brush is returned, it is installed as the current brush. Otherwise, the color must be bad, so anexn:fail:contractexception is raised