| Constructor | Description |
|---|---|
EmptyPrint() |
Constructs an EmptyPrint with size (0, 0).
|
EmptyPrint(int width,
int height) |
Constructs an EmptyPrint with the given size.
|
EmptyPrint(org.eclipse.swt.graphics.Point size) |
Constructs an EmptyPrint with the given size.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
org.eclipse.swt.graphics.Point |
getSize() |
Returns the size of the empty space.
|
int |
hashCode() |
|
PrintIterator |
iterator(org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.GC gc) |
Returns a PrintIterator for laying out the contents of this Print.
|
public EmptyPrint()
public EmptyPrint(int width,
int height)
width - width of the Print, in points (72pts = 1").height - height of the Print, in points (72pts = 1").public EmptyPrint(org.eclipse.swt.graphics.Point size)
size - the size, in points (72pts = 1").public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic org.eclipse.swt.graphics.Point getSize()
public PrintIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
Print