---
title: "TimePickerShapes"
description: "The shapes that will be used in time pickers."
type: "class"
lastmod: "2026-06-04T09:07:44.030561Z"
---
## API Reference

> Source set: Common

```kotlin
@ExperimentalMaterial3ExpressiveApi
class TimePickerShapes(val timeFieldShape: Shape, val periodSelectorShape: Shape)
```

The shapes that will be used in time pickers.

## Functions

### copy

```kotlin
fun copy(
        timeFieldShape: Shape? = this.timeFieldShape,
        periodSelectorShape: Shape? = this.periodSelectorShape,
    ) =
        TimePickerShapes(
            timeFieldShape = timeFieldShape ?: this.timeFieldShape,
            periodSelectorShape = periodSelectorShape ?: this.periodSelectorShape,
        )
```

Returns a copy of this TimePickerShapes, optionally overriding some of the values.
