Package com.pd4ml
Class PageMargins
- java.lang.Object
-
- com.pd4ml.PageMargins
-
- All Implemented Interfaces:
Dimensions
public class PageMargins extends java.lang.Object implements Dimensions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.pd4ml.Dimensions
Dimensions.Units
-
-
Field Summary
Fields Modifier and Type Field Description float
bottom
static PageMargins
DEFAULT_PAGE_MARGINS
float
left
float
right
float
top
-
Fields inherited from interface com.pd4ml.Dimensions
MM_PER_INCH, PIXELS_PER_POINT, POINTS_PER_INCH, POINTS_PER_MM
-
-
Constructor Summary
Constructors Constructor Description PageMargins(float left, float top, float right, float bottom)
PageMargins(float left, float top, float right, float bottom, Dimensions.Units units)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageMargins
flipHorizontal()
PageMargins
flipVertical()
PageMargins
rotate()
java.lang.String
toString()
-
-
-
Field Detail
-
DEFAULT_PAGE_MARGINS
public static final PageMargins DEFAULT_PAGE_MARGINS
-
left
public float left
-
top
public float top
-
right
public float right
-
bottom
public float bottom
-
-
Constructor Detail
-
PageMargins
public PageMargins(float left, float top, float right, float bottom)
-
PageMargins
public PageMargins(float left, float top, float right, float bottom, Dimensions.Units units)
-
-
Method Detail
-
flipHorizontal
public PageMargins flipHorizontal()
-
flipVertical
public PageMargins flipVertical()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
rotate
public PageMargins rotate()
-
-