Classic Button Shaper
Button shaper that returns rectangular buttons with slightly rounded corners.
Author
Kirill Grouchnikov
Constructors
ClassicButtonShaper
Link copied to clipboard
Types
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