
## stroke_and_fill {#aspose.html.rendering.FillRule}

Strokes and fill current path.
This method terminates current path.



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


| Parameter | Type | Description |
| :- | :- | :- |
| rule | [`FillRule`](/html/python-net/aspose.html.rendering/fillrule) | Filling rule specifies how the interior of a closed path is filled. |



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