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


## background_size {#float-float-aspose.svg.builder.LengthType}

Sets the background size for the mask.


### Returns 


The current instance of MaskBuilder.


```python
def background_size(self, width, height, type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| width | float | Width of the background. |
| height | float | Height of the background. |
| type | [`LengthType`](/svg/python-net/aspose.svg.builder/lengthtype) | The type of length measurement. |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`MaskBuilder`](/svg/python-net/aspose.svg.builder/maskbuilder)
