# TimePickerShapes

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/TimePicker.kt+class:androidx.compose.material3.TimePickerShapes) Common/AllAndroid/JVM
- Cmn

  ```
  class TimePickerShapes
  ```

*** ** * ** ***

The shapes that will be used in time pickers.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#TimePickerShapes(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)(timeFieldShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, periodSelectorShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)` create an instance with arbitrary shapes | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#copy(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)(timeFieldShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, periodSelectorShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?)` Returns a copy of this TimePickerShapes, optionally overriding some of the values. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#periodSelectorShape()` Shape used for the AM/PM toggle. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#timeFieldShape()` Shape used for the time fields. | Cmn |

## Public constructors

### TimePickerShapes

Cmn

```
TimePickerShapes(timeFieldShape: Shape, periodSelectorShape: Shape)
```

create an instance with arbitrary shapes

| Parameters |
|---|---|
| `timeFieldShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | shape used for the time fields |
| `periodSelectorShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | shape used for the AM/PM toggle |

## Public functions

### copy

Cmn

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

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

| Parameters |
|---|---|
| `timeFieldShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = this.timeFieldShape` | shape used for the time fields. If null, the existing `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#copy(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)` will be used. |
| `periodSelectorShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = this.periodSelectorShape` | shape used for the AM/PM toggle. If null, the existing `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes#copy(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)` will be used. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes` | a copy of this `https://developer.android.com/reference/kotlin/androidx/compose/material3/TimePickerShapes` |

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

## Public properties

### periodSelectorShape

Cmn

```
val periodSelectorShape: Shape
```

Shape used for the AM/PM toggle.

### timeFieldShape

Cmn

```
val timeFieldShape: Shape
```

Shape used for the time fields.