Interface RectangularButtonShaper
-
- All Known Implementing Classes:
ClassicButtonShaper
,StandardButtonShaper
public interface RectangularButtonShaper
Interface for rectangular-based button shapers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getCornerRadius(AbstractButton button, Insets insets)
Returns the corner radius of the specified button.
-
-
-
Method Detail
-
getCornerRadius
float getCornerRadius(AbstractButton button, Insets insets)
Returns the corner radius of the specified button.- Parameters:
button
- Button.insets
- Button insets.- Returns:
- Corner radius of the specified button.
-
-