Next: set-stipple
Up: wx:brush
Previous: get-style
Sets the brush's colour.
A brush cannot be modified if it was obtained from a
wx:brush-list% or while it is selected into a drawing
context.
- (send a-wx:brush set-colour colour) -> void
colour : wx:colour% object
Copies the given colour into the brush's colour.
- (send a-wx:brush set-colour colour-name) -> void
colour-name : string
Copies the named colour into the brush's colour.
- (send a-wx:brush set-colour red green blue) -> void
red : small integer
green : small integer
blue : small integer
Sets the RGB values of the brush's colour.
PLT