Sets the fill type to solid, i.e. a solid color. Note that calling this method does not set a color or by itself cause the shape to appear with a solid color fill; rather it enables subsequent assignments to properties like fore_color to set the color.
(self)
| 146 | self._fill = _PattFill(pattFill) |
| 147 | |
| 148 | def solid(self): |
| 149 | """ |
| 150 | Sets the fill type to solid, i.e. a solid color. Note that calling |
| 151 | this method does not set a color or by itself cause the shape to |
| 152 | appear with a solid color fill; rather it enables subsequent |
| 153 | assignments to properties like fore_color to set the color. |
| 154 | """ |
| 155 | solidFill = self._xPr.get_or_change_to_solidFill() |
| 156 | self._fill = _SolidFill(solidFill) |
| 157 | |
| 158 | @property |
| 159 | def type(self) -> MSO_FILL_TYPE: |