Class BlockBorder

java.lang.Object
org.jfree.chart.block.BlockBorder
All Implemented Interfaces:
Serializable, BlockFrame

public class BlockBorder
extends Object
implements BlockFrame, Serializable
A border for a block. This class is immutable.
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • BlockBorder

      public BlockBorder()
      Creates a default border.
    • BlockBorder

      public BlockBorder​(Paint paint)
      Creates a new border with the specified color.
      Parameters:
      paint - the color (null not permitted).
    • BlockBorder

      public BlockBorder​(double top, double left, double bottom, double right)
      Creates a new border with the specified line widths (in black).
      Parameters:
      top - the width of the top border.
      left - the width of the left border.
      bottom - the width of the bottom border.
      right - the width of the right border.
    • BlockBorder

      public BlockBorder​(double top, double left, double bottom, double right, Paint paint)
      Creates a new border with the specified line widths (in black).
      Parameters:
      top - the width of the top border.
      left - the width of the left border.
      bottom - the width of the bottom border.
      right - the width of the right border.
      paint - the border paint (null not permitted).
    • BlockBorder

      public BlockBorder​(RectangleInsets insets, Paint paint)
      Creates a new border.
      Parameters:
      insets - the border insets (null not permitted).
      paint - the paint (null not permitted).
  • Method Details