public abstract class Stamper extends Object
PdfDocument.applyStamp(Stamper)
Modifier and Type | Method and Description |
---|---|
HorizontalAlignment |
getHorizontalAlignment()
Gets horizontal alignment.
|
Length |
getHorizontalOffset()
Gets horizontal offset.
|
String |
getHtml()
Gets html.
|
String |
getHyperlink()
Gets hyperlink.
|
Length |
getMaxHeight()
Gets the maximum height of the output stamp.
|
Length |
getMaxWidth()
Gets the maximum width of the output stamp.
|
Length |
getMinHeight()
Gets the minimum height of the output stamp.
|
Length |
getMinWidth()
Gets the minimum width of the output stamp.
|
int |
getOpacity()
Gets opacity.
|
int |
getRotation()
Gets rotation.
|
double |
getScale()
Gets scale.
|
VerticalAlignment |
getVerticalAlignment()
Gets vertical alignment.
|
Length |
getVerticalOffset()
Gets vertical offset.
|
boolean |
isStampBehindContent()
Is stamp behind content boolean.
|
void |
setHorizontalAlignment(HorizontalAlignment value)
Sets horizontal alignment.
|
void |
setHorizontalOffset(Length value)
Sets horizontal offset.
|
void |
setHtml(String value)
Sets html.
|
void |
setHyperlink(String value)
Sets hyperlink.
|
void |
setMaxHeight(Length value)
Sets the maximum height of the output stamp.
|
void |
setMaxWidth(Length value)
Sets the maximum width of the output stamp.
|
void |
setMinHeight(Length value)
Sets the minimum height of the output stamp.
|
void |
setMinWidth(Length value)
Sets the minimum width of the output stamp.
|
void |
setOpacity(int value)
Sets opacity.
|
void |
setRotation(int value)
Sets rotation.
|
void |
setScale(double value)
Sets scale.
|
void |
setStampBehindContent(boolean value)
Sets stamp behind content.
|
void |
setVerticalAlignment(VerticalAlignment value)
Sets vertical alignment.
|
void |
setVerticalOffset(Length value)
Sets vertical offset.
|
public final String getHtml()
public final void setHtml(String value)
value
- the valuepublic final int getOpacity()
public final void setOpacity(int value)
value
- the valuepublic final int getRotation()
public final void setRotation(int value)
value
- the valuepublic final HorizontalAlignment getHorizontalAlignment()
public final void setHorizontalAlignment(HorizontalAlignment value)
value
- the valuepublic final VerticalAlignment getVerticalAlignment()
public final void setVerticalAlignment(VerticalAlignment value)
value
- the valuepublic final Length getHorizontalOffset()
MeasurementUnit.PERCENTAGE
. Value of 0 has no effect. Positive indicates an
offset to the right direction. Negative indicates an offset to the left direction.public final void setHorizontalOffset(Length value)
MeasurementUnit.PERCENTAGE
. Value of 0 has no effect. Positive indicates an
offset to the right direction. Negative indicates an offset to the left direction.value
- the valuepublic final Length getVerticalOffset()
MeasurementUnit.PERCENTAGE
. Value of 0 has no effect. Positive indicates an
offset in the downward direction. Negative indicates an offset in the upward direction.public final void setVerticalOffset(Length value)
MeasurementUnit.PERCENTAGE
. Value of 0 has no effect. Positive indicates an
offset in the downward direction. Negative indicates an offset in the upward direction.value
- the valuepublic final Length getMaxWidth()
public final void setMaxWidth(Length value)
value
- the valuepublic final Length getMaxHeight()
public final void setMaxHeight(Length value)
value
- the valuepublic final Length getMinWidth()
public final void setMinWidth(Length value)
value
- the valuepublic final Length getMinHeight()
public final void setMinHeight(Length value)
value
- the valuepublic final String getHyperlink()
public final void setHyperlink(String value)
value
- the valuepublic final double getScale()
public final void setScale(double value)
value
- the valuepublic final boolean isStampBehindContent()
public final void setStampBehindContent(boolean value)
value
- the valueCopyright © 2022–2023 Iron Software. All rights reserved.