Pattern fill style

Log-in or register.

Pattern fill style

rsrc/pattern-fill.png image PATTERN is a fill style that fills a shape with one of predefined patterns or by a custom pattern. The predefined patterns are using currently selected foreground and background colors.

rsrc/pattern-fill-config.png image

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.

Example

DrawTool.SetFillStyle("PATTERN", "Diagonal Cross");

Recent comments

user icon Anonymous
Vista & Win 7 icons
Select background