RectangularButtonShaper

interface RectangularButtonShaper

Interface for rectangular-based button shapers.

Author

Kirill Grouchnikov

Functions

getCornerRadius
Link copied to clipboard
abstract fun getCornerRadius(width: Float, height: Float, insets: Float, drawScope: DrawScope): Float

Returns the corner radius of a button.

Inheritors

ClassicButtonShaper
Link copied to clipboard
PillButtonShaper
Link copied to clipboard