---
title: "times"
description: "Multiplication operator with [Size].

Return a new [Size] with the width and height multiplied by the [ScaleFactor.scaleX] and
[ScaleFactor.scaleY] respectively"
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
operator fun Size.times(scaleFactor: ScaleFactor): Size
```


Multiplication operator with `Size`.

Return a new `Size` with the width and height multiplied by the `ScaleFactor.scaleX` and
`ScaleFactor.scaleY` respectively



<div class='sourceset sourceset-common'>Common</div>


```kotlin
operator fun ScaleFactor.times(size: Size): Size
```


Multiplication operator with `Size` with reverse parameter types to maintain commutative
properties of multiplication

Return a new `Size` with the width and height multiplied by the `ScaleFactor.scaleX` and
`ScaleFactor.scaleY` respectively



