---
title: "sizeIn"
description: "Specify the dimensions of the content to be restricted between the given bounds."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
public fun CurvedModifier.sizeIn(
    @FloatRange(from = 0.0, to = 360.0) minSweepDegrees: Float = 0f,
    @FloatRange(from = 0.0, to = 360.0) maxSweepDegrees: Float = 360f,
    minThickness: Dp = 0.dp,
    maxThickness: Dp = Dp.Infinity,
): CurvedModifier
```


Specify the dimensions of the content to be restricted between the given bounds.

#### Parameters

| | |
| --- | --- |
| minSweepDegrees | the minimum angle (in degrees) for the content. |
| maxSweepDegrees | the maximum angle (in degrees) for the content. |
| minThickness | the minimum thickness (radial size) for the content. |
| maxThickness | the maximum thickness (radial size) for the content. |




