MSO_PATTERN_TYPE¶Specifies the fill pattern used in a shape.
Alias:
MSO_PATTERNExample:
from pptx.enum.dml import MSO_PATTERN fill = shape.fill fill.patterned() fill.pattern == MSO_PATTERN.WAVE
Cross
Dark Downward Diagonal
Dark Horizontal
Dark Upward Diagonal
Dark Vertical
Dashed Downward Diagonal
Dashed Horizontal
Dashed Upward Diagonal
Dashed Vertical
Diagonal Brick
Diagonal Cross
Pattern Divot
Dotted Diamond
Dotted Grid
Downward Diagonal
Horizontal
Horizontal Brick
Large Checker Board
Large Confetti
Large Grid
Light Downward Diagonal
Light Horizontal
Light Upward Diagonal
Light Vertical
Narrow Horizontal
Narrow Vertical
Outlined Diamond
10% of the foreground color.
20% of the foreground color.
25% of the foreground color.
30% of the foreground color.
40% of the foreground color.
5% of the foreground color.
50% of the foreground color.
60% of the foreground color.
70% of the foreground color.
75% of the foreground color.
80% of the foreground color.
90% of the foreground color.
Plaid
Shingle
Small Checker Board
Small Confetti
Small Grid
Solid Diamond
Sphere
Trellis
Upward Diagonal
Vertical
Wave
Weave
Wide Downward Diagonal
Wide Upward Diagonal
Zig Zag
Mixed pattern.