public class ImageBlock extends Block
Block.PdfElementalign, CONDITION_REGEXP, spacingAfter| Constructor and Description |
|---|
ImageBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(PJsonObject params,
Block.PdfElement target,
RenderingContext context)
Called when the block is rendered.
|
void |
setMaxHeight(double maxHeight) |
void |
setMaxWidth(double maxWidth) |
void |
setRotation(java.lang.String rotation) |
void |
setUrl(java.lang.String url) |
void |
validate()
Called just after the config has been loaded to check it is valid.
|
getAlign, getBackgroundColorVal, getMap, getMaxValueIfZero, getMaxValueIfZero, getVertAlign, isAbsolute, isVisible, setAlign, setBackgroundColor, setCondition, setSpacingAfter, setVertAlign, testConditionpublic void render(PJsonObject params, Block.PdfElement target, RenderingContext context) throws com.itextpdf.text.DocumentException
Blockpublic void setUrl(java.lang.String url)
public void setMaxWidth(double maxWidth)
public void setMaxHeight(double maxHeight)
public void setRotation(java.lang.String rotation)