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


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



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