copy

fun copy(shape: Shape? = this.shape, pressedShape: Shape? = this.pressedShape): ButtonShapes

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