Interface RectangularButtonShaper

    • Method Detail

      • getCornerRadius

        float getCornerRadius​(javax.swing.AbstractButton button,
                              float insets)
        Returns the corner radius of the specified button.
        Parameters:
        button - Button.
        insets - Button insets.
        Returns:
        Corner radius of the specified button.