Package net.sf.paperclips
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 Summary
Modifier and TypeMethodDescriptioncreatePainter
(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc) Creates a BorderPainter which uses the given Device and GC.
-
Method Details
-
createPainter
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.
-