PrimaryButtonShape

data class PrimaryButtonShape(val cornerRadiusDp: Float? = null, val borderStrokeWidthDp: Float? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(context: Context, cornerRadiusDp: Int? = null, borderStrokeWidthDp: Int? = null)
constructor(cornerRadiusDp: Float? = null, borderStrokeWidthDp: Float? = null)

Properties

Link copied to clipboard

The border width of the primary button. Note: If 'null', {@link Shapes#borderStrokeWidthDp} is used.

Link copied to clipboard
val cornerRadiusDp: Float? = null

The corner radius of the primary button. Note: If 'null', {@link Shapes#cornerRadiusDp} is used.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)