Interface RectangularButtonShaper
- All Known Implementing Classes:
ClassicButtonShaper
,PillButtonShaper
public interface RectangularButtonShaper
Interface for rectangular-based button shapers.
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getCornerRadius
(AbstractButton button, float insets) Returns the corner radius of the specified button.
-
Method Details
-
getCornerRadius
Returns the corner radius of the specified button.- Parameters:
button
- Button.insets
- Button insets.- Returns:
- Corner radius of the specified button.
-