
## stroke_and_fill {#aspose.svg.drawing.FillRule}

Strokes and fill current path.
This method terminates current path.



```python
def stroke_and_fill(self, rule):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| rule | aspose.svg.drawing.FillRule | Filling rule specifies how the interior of a closed path is filled. |



### See Also
* module [`aspose.svg.rendering`](../../)
* class [`IDevice`](/svg/python-net/aspose.svg.rendering/idevice)
