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


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

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



### See Also
* module [`aspose.html.rendering.doc`](../../)
* class [`DocDevice`](/html/python-net/aspose.html.rendering.doc/docdevice)
