Interface Border

  • All Known Implementing Classes:
    GapBorder, LineBorder

    public interface Border
    Interface for drawing borders, used by BorderPaint and GridPrint for drawing borders a child print and grid cells, respectively.
    • Method Detail

      • createPainter

        BorderPainter createPainter​(org.eclipse.swt.graphics.Device device,
                                    org.eclipse.swt.graphics.GC gc)
        Creates a BorderPainter which uses the given Device and GC.
        Parameters:
        device - the print device.
        gc - a GC for drawing to the print device.
        Returns:
        a BorderPainter for painting the border on the given Device and GC.