org.pushingpixels.substance.api.shaper
Interface RectangularButtonShaper
- All Known Implementing Classes:
- ClassicButtonShaper, StandardButtonShaper
public interface RectangularButtonShaper
Interface for rectangular-based button shapers.
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.