---
title: "toIntSize"
description: "Convert a [Size] to an [IntSize]. This rounds the width and height values down to the nearest
integer."
type: "function"
---

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


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


```kotlin
fun Size.toIntSize(): IntSize
```


Convert a `Size` to an `IntSize`. This rounds the width and height values down to the nearest
integer.



