
## clip {#aspose.html.rendering.FillRule}

Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill. 
This method terminates current path.



```python
def clip(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 clipped |



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