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

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

### Returns 


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


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

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



### See Also
* module [`aspose.svg.drawing`](../../)
* class [`UnitType`](/svg/python-net/aspose.svg.drawing/unittype)
