public abstract class WatermarkGeometry extends Geometry
| Modifier | Constructor and Description |
|---|---|
protected |
WatermarkGeometry(Watermark watermark,
ContentPartGeometry parent) |
| Modifier and Type | Method and Description |
|---|---|
SizeD |
getAutoSize()
Gets or sets the actual size of the watermark in content default units of measurement.
|
double |
getBottomMargin()
Gets the absolute value of the bottom margin.
|
PointD |
getCoordinates()
Gets the coordinates of the watermark considering alignment, margins, rotation and parent size.
|
SizeD |
getDesiredBoundingBoxSize()
Gets the size of axis-aligned bounding box (calculated for
DesiredSize). |
SizeD |
getDesiredSize()
Gets or sets the final size of the watermark considering all user defined settings.
|
double |
getLeftMargin()
Gets the absolute value of the left margin.
|
double |
getRightMargin()
Gets the absolute value of the right margin.
|
double |
getRotateAngle()
Gets or sets the watermark rotation angle that is used in all calculations.
|
double |
getTopMargin()
Gets the absolute value of the top margin.
|
void |
setAutoSize(SizeD value)
Gets or sets the actual size of the watermark in content default units of measurement.
|
void |
setDesiredSize(SizeD value)
Gets or sets the final size of the watermark considering all user defined settings.
|
void |
setRotateAngle(double value)
Gets or sets the watermark rotation angle that is used in all calculations.
|
getBoundingBoxSize, getRectangleMaxX, getRectangleMaxY, getRectangleMinX, getRectangleMinY, getRotatedRectangleVertexprotected WatermarkGeometry(Watermark watermark, ContentPartGeometry parent)
public final SizeD getAutoSize()
Gets or sets the actual size of the watermark in content default units of measurement.
public final double getBottomMargin()
Gets the absolute value of the bottom margin.
public PointD getCoordinates()
Gets the coordinates of the watermark considering alignment, margins, rotation and parent size.
public final SizeD getDesiredBoundingBoxSize()
Gets the size of axis-aligned bounding box (calculated for DesiredSize).
public final SizeD getDesiredSize()
Gets or sets the final size of the watermark considering all user defined settings.
public final double getLeftMargin()
Gets the absolute value of the left margin.
public final double getRightMargin()
Gets the absolute value of the right margin.
public final double getRotateAngle()
Gets or sets the watermark rotation angle that is used in all calculations.
public final double getTopMargin()
Gets the absolute value of the top margin.
public final void setAutoSize(SizeD value)
Gets or sets the actual size of the watermark in content default units of measurement.
public final void setDesiredSize(SizeD value)
Gets or sets the final size of the watermark considering all user defined settings.
public final void setRotateAngle(double value)
Gets or sets the watermark rotation angle that is used in all calculations.
Copyright © 2026. All rights reserved.