org.jvnet.substance.button
Interface RectangularButtonShaper
- All Known Implementing Classes:
- ClassicButtonShaper, StandardButtonShaper
public interface RectangularButtonShaper
Interface for rectangular-based button shapers.
- Author:
- Kirill Grouchnikov
|
Method Summary |
float |
getCornerRadius(javax.swing.AbstractButton button,
java.awt.Insets insets)
Returns the corner radius of the specified button. |
getCornerRadius
float getCornerRadius(javax.swing.AbstractButton button,
java.awt.Insets insets)
- Returns the corner radius of the specified button.
- Parameters:
button - Button.insets - Button insets.
- Returns:
- Corner radius of the specified button.