Class TwoColoredLineBorder

All Implemented Interfaces:
Serializable, Border, ShapedBorder

public class TwoColoredLineBorder extends RoundedCornerBorder
TwoColoredLineBorder draws a 1 pixel wide line. The border can have one color for the top and left line and another color for the bottom and right line.
Since:
ITP 1.2.0
See Also:
  • Constructor Details

    • TwoColoredLineBorder

      public TwoColoredLineBorder(ColorProvider topLeftColor, ColorProvider bottomRightColor, boolean roundCorners, boolean open)
      Constructs a TwoColoredLineBorder
      Parameters:
      topLeftColor - the colorprovider for the top and left lines
      bottomRightColor - the colorprovider for the bottom and right lines
      roundCorners - true for round corners on the side facing away from the tab area
      open - true for no border on the side towards the tab area
  • Method Details