Next: remove-brush
Up: wx:brush-list
Previous: wx:brush-list
Finds a brush of the given specification, or creates one and adds it to the list.
- (send a-wx:brush-list find-or-create-brush colour style) -> wx:brush% object
colour : wx:colour% object
style : small integer
See
wx:brush% or see
set-style for a list of styles.
- (send a-wx:brush-list find-or-create-brush colour-name style) -> wx:brush% object or null
colour-name : string
style : small integer
The return value is null when no color matching
colour-name can be found in the color database.
See
wx:brush% or see
set-style for a list of styles.
PLT