## Device<TGraphicContext,TRenderingOptions>.Clip method

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.

```csharp
public virtual void Clip(FillRule rule)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rule | FillRule | Filling rule specifies how the interior of a closed path is clipped |

### See Also

* enum [FillRule](../../fillrule/)
* class [Device&lt;TGraphicContext,TRenderingOptions&gt;](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
