MCPcopy Create free account
hub / github.com/scanny/python-pptx / patterned

Method patterned

src/pptx/dml/fill.py:137–146  ·  view source on GitHub ↗

Selects the pattern fill type. Note that calling this method does not by itself set a foreground or background color of the pattern. Rather it enables subsequent assignments to properties like fore_color to set the pattern and colors.

(self)

Source from the content-addressed store, hash-verified

135 self._fill.pattern = pattern_type
136
137 def patterned(self):
138 """Selects the pattern fill type.
139
140 Note that calling this method does not by itself set a foreground or
141 background color of the pattern. Rather it enables subsequent
142 assignments to properties like fore_color to set the pattern and
143 colors.
144 """
145 pattFill = self._xPr.get_or_change_to_pattFill()
146 self._fill = _PattFill(pattFill)
147
148 def solid(self):
149 """

Calls 1

_PattFillClass · 0.85

Tested by 1