---
title: "filter method"
url: "https://reference.aspose.com/cad/python-net/aspose.cad/rastercachedimage/filter/"
product: "Aspose.CAD for Python via .NET API References"
---


## filter {#aspose.cad.Rectangle-aspose.cad.imagefilters.filteroptions.FilterOptionsBase}

Filters the specified rectangle.



```python
def filter(self, rectangle, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| rectangle | [`Rectangle`](/cad/python-net/aspose.cad/rectangle) | The rectangle. |
| options | aspose.cad.imagefilters.filteroptions.FilterOptionsBase | The options. |



### See Also
* module [`aspose.cad`](../../)
* class [`RasterCachedImage`](/cad/python-net/aspose.cad/rastercachedimage)
