MSO_PATTERN_TYPE
¶
Specifies the fill pattern used in a shape.
Alias:
MSO_PATTERN
Example:
from pptx.enum.dml import MSO_PATTERN fill = shape.fill fill.patterned() fill.pattern == MSO_PATTERN.WAVE
- CROSS
Cross
- DARK_DOWNWARD_DIAGONAL
Dark Downward Diagonal
- DARK_HORIZONTAL
Dark Horizontal
- DARK_UPWARD_DIAGONAL
Dark Upward Diagonal
- DARK_VERTICAL
Dark Vertical
- DASHED_DOWNWARD_DIAGONAL
Dashed Downward Diagonal
- DASHED_HORIZONTAL
Dashed Horizontal
- DASHED_UPWARD_DIAGONAL
Dashed Upward Diagonal
- DASHED_VERTICAL
Dashed Vertical
- DIAGONAL_BRICK
Diagonal Brick
- DIAGONAL_CROSS
Diagonal Cross
- DIVOT
Pattern Divot
- DOTTED_DIAMOND
Dotted Diamond
- DOTTED_GRID
Dotted Grid
- DOWNWARD_DIAGONAL
Downward Diagonal
- HORIZONTAL
Horizontal
- HORIZONTAL_BRICK
Horizontal Brick
- LARGE_CHECKER_BOARD
Large Checker Board
- LARGE_CONFETTI
Large Confetti
- LARGE_GRID
Large Grid
- LIGHT_DOWNWARD_DIAGONAL
Light Downward Diagonal
- LIGHT_HORIZONTAL
Light Horizontal
- LIGHT_UPWARD_DIAGONAL
Light Upward Diagonal
- LIGHT_VERTICAL
Light Vertical
- NARROW_HORIZONTAL
Narrow Horizontal
- NARROW_VERTICAL
Narrow Vertical
- OUTLINED_DIAMOND
Outlined Diamond
- PERCENT_10
10% of the foreground color.
- PERCENT_20
20% of the foreground color.
- PERCENT_25
25% of the foreground color.
- PERCENT_30
30% of the foreground color.
- PERCENT_40
40% of the foreground color.
- PERCENT_5
5% of the foreground color.
- PERCENT_50
50% of the foreground color.
- PERCENT_60
60% of the foreground color.
- PERCENT_70
70% of the foreground color.
- PERCENT_75
75% of the foreground color.
- PERCENT_80
80% of the foreground color.
- PERCENT_90
90% of the foreground color.
- PLAID
Plaid
- SHINGLE
Shingle
- SMALL_CHECKER_BOARD
Small Checker Board
- SMALL_CONFETTI
Small Confetti
- SMALL_GRID
Small Grid
- SOLID_DIAMOND
Solid Diamond
- SPHERE
Sphere
- TRELLIS
Trellis
- UPWARD_DIAGONAL
Upward Diagonal
- VERTICAL
Vertical
- WAVE
Wave
- WEAVE
Weave
- WIDE_DOWNWARD_DIAGONAL
Wide Downward Diagonal
- WIDE_UPWARD_DIAGONAL
Wide Upward Diagonal
- ZIG_ZAG
Zig Zag
- MIXED
Mixed pattern.