find-or-create-brush in brush-list%
Finds a brush of the given specification, or creates one and adds it to the list.
(->senda-brush-listfind-or-create-brushcolorstyle)brush%object
color:color%object
style: symbol in'(transparent solid opaque xor hilite panel bdiagonal-hatch crossdiag-hatch fdiagonal-hatch cross-hatch horizontal-hatch vertical-hatch)See
brush%.
(->senda-brush-listfind-or-create-brushcolor-namestyle)brush%object or#f
color-name: string
style: symbol in'(transparent solid opaque xor hilite panel bdiagonal-hatch crossdiag-hatch fdiagonal-hatch cross-hatch horizontal-hatch vertical-hatch)See
brush%.The return value is
#fwhen no color matchingcolor-namecan be found in the color database.