TimePickerShapes


The shapes that will be used in time pickers.

Summary

Public constructors

TimePickerShapes(timeFieldShape: Shape, periodSelectorShape: Shape)

create an instance with arbitrary shapes

Cmn

Public functions

TimePickerShapes
copy(timeFieldShape: Shape?, periodSelectorShape: Shape?)

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

Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Shape

Shape used for the AM/PM toggle.

Cmn
Shape

Shape used for the time fields.

Cmn

Public constructors

TimePickerShapes

TimePickerShapes(timeFieldShape: Shape, periodSelectorShape: Shape)

create an instance with arbitrary shapes

Parameters
timeFieldShape: Shape

shape used for the time fields

periodSelectorShape: Shape

shape used for the AM/PM toggle

Public functions

copy

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: Shape? = this.timeFieldShape

shape used for the time fields. If null, the existing timeFieldShape will be used.

periodSelectorShape: Shape? = this.periodSelectorShape

shape used for the AM/PM toggle. If null, the existing periodSelectorShape will be used.

Returns
TimePickerShapes

a copy of this TimePickerShapes

equals

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

hashCode

open fun hashCode(): Int

Public properties

periodSelectorShape

val periodSelectorShapeShape

Shape used for the AM/PM toggle.

timeFieldShape

val timeFieldShapeShape

Shape used for the time fields.