Package org.xhtmlrenderer.pdf
Class PDFAsImage
java.lang.Object
org.xhtmlrenderer.pdf.PDFAsImage
- All Implemented Interfaces:
FSImage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private final URI
private final float
private final float
private final float
-
Constructor Summary
ConstructorsModifierConstructorDescriptionPDFAsImage
(URI source, float width, float height) private
PDFAsImage
(URI source, float unscaledWidth, float unscaledHeight, float width, float height) -
Method Summary
-
Field Details
-
_source
-
_width
private final float _width -
_height
private final float _height -
_unscaledWidth
private final float _unscaledWidth -
_unscaledHeight
private final float _unscaledHeight
-
-
Constructor Details
-
PDFAsImage
-
PDFAsImage
private PDFAsImage(URI source, float unscaledWidth, float unscaledHeight, float width, float height)
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
scale
-
getURI
-
getWidthAsFloat
public float getWidthAsFloat() -
getHeightAsFloat
public float getHeightAsFloat() -
getUnscaledHeight
public float getUnscaledHeight() -
getUnscaledWidth
public float getUnscaledWidth() -
scaleHeight
public float scaleHeight() -
scaleWidth
public float scaleWidth()
-