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