---
title: "times"
description: "Returns a [Size] with [size]'s [Size.width] and [Size.height] multiplied by [this]"
type: "function"
---

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


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


```kotlin
inline operator fun Int.times(size: Size) = size * this.toFloat()
```


Returns a `Size` with `size`'s `Size.width` and `Size.height` multiplied by `this`



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


```kotlin
inline operator fun Double.times(size: Size) = size * this.toFloat()
```


Returns a `Size` with `size`'s `Size.width` and `Size.height` multiplied by `this`



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


```kotlin
inline operator fun Float.times(size: Size) = size * this
```


Returns a `Size` with `size`'s `Size.width` and `Size.height` multiplied by `this`



