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

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun CurvedModifier.size(
    @FloatRange(from = 0.0, to = 360.0) sweepDegrees: Float,
    thickness: Dp,
): CurvedModifier
```

Specify the dimensions (sweep and thickness) for the content.

#### Parameters

| | |
| --- | --- |
| sweepDegrees | Indicates the sweep (angular size) of the content. |
| thickness | Indicates the thickness (radial size) of the content. |