BBjDrawPanel::getPattern
Description
In BBj 16.0 and higher, this method returns the current BBjDrawPanel pen pattern.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         int  | 
                                                    
                                                         getPattern()  | 
                                                
Parameters
None.
Return Value
Returns the current pen pattern:
- 
                                                    
0 = Solid line (default)
 - 
                                                    
1 = Alternate between 8 opaque pixels and 4 transparent pixels
 - 
                                                    
2 = Alternate between 12 opaque pixels and 4 transparent pixels
 - 
                                                    
3 = Alternate between 16 opaque pixels and 4 transparent pixels
 - 
                                                    
4 = Alternate between 2 opaque pixels and 2 transparent pixels
 - 
                                                    
5 = Alternate between 4 opaque pixels and 4 transparent pixels
 - 
                                                    
6 = Alternate between 6 opaque pixels and 6 transparent pixels
 - 
                                                    
7 = Alternate between pattern 1 and pattern 4
 - 
                                                    
8 = Alternate between pattern 2 and pattern 5
 - 
                                                    
9 = Alternate between pattern 3 and pattern 6
 
Remarks
None.
Example
                                                     | 
                                                
See Also
PATTERN Mnemonic - Set SYSGUI/SYSPLOT Pen Pattern
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.