public class PDFAsImage extends Object implements org.xhtmlrenderer.extend.FSImage
| Constructor and Description |
|---|
PDFAsImage(URI source) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
float |
getHeightAsFloat() |
float |
getUnscaledHeight() |
float |
getUnscaledWidth() |
URI |
getURI() |
int |
getWidth() |
float |
getWidthAsFloat() |
void |
scale(int width,
int height) |
float |
scaleHeight() |
float |
scaleWidth() |
void |
setInitialHeight(float height) |
void |
setInitialWidth(float width) |
void |
setUnscaledHeight(float unscaledHeight) |
void |
setUnscaledWidth(float unscaledWidth) |
public PDFAsImage(URI source)
public int getWidth()
getWidth in interface org.xhtmlrenderer.extend.FSImagepublic int getHeight()
getHeight in interface org.xhtmlrenderer.extend.FSImagepublic void scale(int width,
int height)
scale in interface org.xhtmlrenderer.extend.FSImagepublic URI getURI()
public void setInitialWidth(float width)
public void setInitialHeight(float height)
public float getWidthAsFloat()
public float getHeightAsFloat()
public float getUnscaledHeight()
public void setUnscaledHeight(float unscaledHeight)
public float getUnscaledWidth()
public void setUnscaledWidth(float unscaledWidth)
public float scaleHeight()
public float scaleWidth()
Copyright © 2023. All rights reserved.