copy

fun copy(itemBackgroundVibrant: Vibrant = this.itemBackgroundVibrant, itemContentVibrant: Vibrant = this.itemContentVibrant, selectedItemBackgroundVibrant: Vibrant = this.selectedItemBackgroundVibrant, selectedItemContentVibrant: Vibrant = this.selectedItemContentVibrant): SegmentControlVibrants

Returns a copy of this SegmentControlVibrants with the given parameters applied.

Return

A copy of this SegmentControlVibrants with the given parameters applied.

Parameters

itemBackgroundVibrant

The Vibrant to be used for the unchecked item background.

itemContentVibrant

The Vibrant to be used for the unchecked item content.

selectedItemBackgroundVibrant

The Vibrant to be used for the checked item background.

selectedItemContentVibrant

The Vibrant to be used for the checked item content.