public class Margins
extends java.lang.Object
Constructor and Description |
---|
Margins(long top, long bottom, long left, long right)
Creates an object describing the size of page margins
|
Modifier and Type | Method and Description |
---|---|
long |
getBottom()
Obtains the bottom margin of the page in twips
|
long |
getLeft()
Obtains the left margin of the page in twips
|
long |
getRight()
Obtains the right margin of the page in twips
|
long |
getTop()
Obtains the top margin of the page in twips
|
public Margins(long top, long bottom, long left, long right)
top
- Margin from the top edge of the page (in twips)bottom
- Margin from the bottom edge of the page (in twips)left
- Margin from the left edge of the page (in twips)right
- Margin from the right edge of the page (in twips)public long getTop()
public long getBottom()
public long getLeft()
public long getRight()