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


<a id='references'></a>


<h2 id="times-other">times</h2>

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


```kotlin
inline operator fun Float.times(other: TextUnit): TextUnit
```


Multiply a `TextUnit` by a scalar.

This operation works only if the right operand is not equal to `TextUnit.Unspecified`. The result
of this operation is the same unit type of the given one.





<hr class="docs-overload-divider">


<h2 id="times-other-2">times</h2>

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


```kotlin
inline operator fun Double.times(other: TextUnit): TextUnit
```


Multiply a `TextUnit` by a scalar.

This operation works only if the right operand is not equal to `TextUnit.Unspecified`. The result
of this operation is the same unit type of the given one.





<hr class="docs-overload-divider">


<h2 id="times-other-3">times</h2>

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


```kotlin
inline operator fun Int.times(other: TextUnit): TextUnit
```


Multiply a `TextUnit` by a scalar.

This operation works only if the right operand is not equal to `TextUnit.Unspecified`. The result
of this operation is the same unit type of the given one.





<hr class="docs-overload-divider">


<h2 id="times-other-4">times</h2>

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


```kotlin
inline operator fun Float.times(other: Dp) = Dp(this * other.value)
```




<hr class="docs-overload-divider">


<h2 id="times-other-5">times</h2>

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


```kotlin
inline operator fun Double.times(other: Dp) = Dp(this.toFloat() * other.value)
```




<hr class="docs-overload-divider">


<h2 id="times-other-6">times</h2>

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


```kotlin
inline operator fun Int.times(other: Dp) = Dp(this * other.value)
```




<hr class="docs-overload-divider">


<h2 id="times-size">times</h2>

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


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




<hr class="docs-overload-divider">


<h2 id="times-size-2">times</h2>

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


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




<hr class="docs-overload-divider">


<h2 id="times-size-3">times</h2>

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


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


Returns an `IntSize` with `size`'s `IntSize.width` and `IntSize.height` multiplied by `this`.