---
title: "equals method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.drawing/lengthorauto/equals/"
product: "Aspose.SVG for Python via .NET API References"
---


## equals {#aspose.svg.drawing.Unit}

Determines whether the specified [`Unit`](/svg/python-net/aspose.svg.drawing/unit), is equal to this instance.


### Returns 


`true` if the specified [`Unit`](/svg/python-net/aspose.svg.drawing/unit) is equal to this instance; otherwise, `false`.


```python
def equals(self, other):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| other | [`Unit`](/svg/python-net/aspose.svg.drawing/unit) | The [`Unit`](/svg/python-net/aspose.svg.drawing/unit) to compare with this instance. |



### See Also
* module [`aspose.svg.drawing`](../../)
* class [`LengthOrAuto`](/svg/python-net/aspose.svg.drawing/lengthorauto)
* class [`Unit`](/svg/python-net/aspose.svg.drawing/unit)
