Pill Button Shaper
Button shaper that returns buttons with completely rounded corners.
Author
Kirill Grouchnikov
Constructors
PillButtonShaper
Link copied to clipboard
Functions
get Button Outline
Link copied to clipboard
get Corner Radius
Link copied to clipboard
open override fun getCornerRadius(width: Float, height: Float, insets: Float, drawScope: DrawScope): Float
Content copied to clipboard
Returns the corner radius of a button.
get Preferred Size
Link copied to clipboard
open override fun getPreferredSize(uiPreferredWidth: Float, uiPreferredHeight: Float): Size
Content copied to clipboard
Returns the preferred size for the specified button dimensions.
Properties
displayName
Link copied to clipboard