Class RoundedCornerBorder

    • Field Detail

      • corner1

        private static int[][] corner1
      • corner2

        private static int[][] corner2
      • corner3

        private static int[][] corner3
      • corner4

        private static int[][] corner4
      • insets

        private java.awt.Insets insets
    • Constructor Detail

      • RoundedCornerBorder

        public RoundedCornerBorder​(ColorProvider lineColor,
                                   int cType)
      • RoundedCornerBorder

        public RoundedCornerBorder​(ColorProvider lineColor,
                                   int cType,
                                   boolean drawTop,
                                   boolean drawLeft,
                                   boolean drawBottom,
                                   boolean drawRight)
      • RoundedCornerBorder

        public RoundedCornerBorder​(ColorProvider lineColor,
                                   ColorProvider highlightColor,
                                   int cType1,
                                   int cType2,
                                   int cType3,
                                   int cType4)
      • RoundedCornerBorder

        public RoundedCornerBorder​(ColorProvider lineColor,
                                   ColorProvider highlightColor,
                                   int cType1,
                                   int cType2,
                                   int cType3,
                                   int cType4,
                                   boolean drawTop,
                                   boolean drawLeft,
                                   boolean drawBottom,
                                   boolean drawRight)
    • Method Detail

      • createCoordinates

        private static int[] createCoordinates​(int cType1,
                                               int cType2,
                                               int cType3,
                                               int cType4,
                                               boolean drawTop,
                                               boolean drawLeft,
                                               boolean drawBottom,
                                               boolean drawRight)
      • createXScales

        private static float[] createXScales​(int cType1,
                                             int cType2,
                                             int cType3,
                                             int cType4)
      • createYScales

        private static float[] createYScales​(int cType1,
                                             int cType2,
                                             int cType3,
                                             int cType4)