Fill PATTERN
From RealWorld Wiki
PATTERN is a filling style that fills a shape with one of predefined patterns. The pattern is using currently selected foreground and background colors.
[edit] Scripting interface
PATTERN can be used from scripts and has a single argument.
- pattern_name - one of "Diagonal Small", "Diagonal Medium", "Brick", "Confetti", "Checkboard", "Solid Grid", "Dotted Grid", "Diagonal Cross", "Shingle", "Wave", "Foreground", "Background". Pattern name is case sensitive.
[edit] Example
DrawTool.SetFillStyle("PATTERN", "Diagonal Cross");