@DoNotObfuscate
public class RectangleUpperLeftBasedMillis
extends java.lang.Object
implements com.pdfunit.internal.spi.RectangleUpperLeftBased
Constructor and Description |
---|
RectangleUpperLeftBasedMillis(int leftX,
int upperY,
int width,
int height)
This method creates an instance with all data for a rectangle belonging to
a PDF page.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeightInPoints() |
int |
getLeftXInPoints() |
java.lang.String |
getName() |
java.awt.geom.Rectangle2D |
getRectangle2DLowerLeftBased() |
java.awt.geom.Rectangle2D |
getRectangleUpperLeftBasedPoints()
When converting from millimeter to points, rounding is needed.
|
int |
getUpperYInPoints() |
int |
getWidthInPoints() |
void |
setName(java.lang.String name) |
void |
setPageHeightInMillis(int pageHeightInMillis) |
void |
setPageHeightInPoints(int pageHeightInPoints) |
java.lang.String |
toString()
This methode is used in case of a failing unit test.
|
@Guarded public RectangleUpperLeftBasedMillis(int leftX, int upperY, int width, int height)
public int getHeightInPoints()
getHeightInPoints
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
public int getLeftXInPoints()
getLeftXInPoints
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
public java.lang.String getName()
getName
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
public java.awt.geom.Rectangle2D getRectangle2DLowerLeftBased()
getRectangle2DLowerLeftBased
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
public java.awt.geom.Rectangle2D getRectangleUpperLeftBasedPoints()
getRectangleUpperLeftBasedPoints
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
public int getUpperYInPoints()
getUpperYInPoints
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
public int getWidthInPoints()
getWidthInPoints
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
@Guarded public void setName(java.lang.String name)
setName
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
@Guarded public void setPageHeightInPoints(int pageHeightInPoints)
setPageHeightInPoints
in interface com.pdfunit.internal.spi.RectangleUpperLeftBased
@Guarded public void setPageHeightInMillis(int pageHeightInMillis)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (C) PDFUnit.com. See here for license.