PrimaryButtonShape

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

Constructors

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

Functions

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

Properties

Link copied to clipboard
val borderStrokeWidthDp: Float? = null

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.