Class WatermarkOptions

Configurations of the watermark image.

Hierarchy

  • WatermarkOptions

Constructors

Properties

The adaptation mode of the watermark. See WatermarkFitMode .

positionInLandscapeMode?: Rectangle

When the adaptation mode of the watermark is FitModeCoverPosition, it is used to set the area of the watermark image in landscape mode. See Rectangle .

positionInPortraitMode?: Rectangle

When the adaptation mode of the watermark is FitModeCoverPosition, it is used to set the area of the watermark image in portrait mode. See Rectangle .

visibleInPreview?: boolean

Reserved for future use.

watermarkRatio?: WatermarkRatio

When the watermark adaptation mode is FitModeUseImageRatio, this parameter is used to set the watermark coordinates. See WatermarkRatio .

Generated using TypeDoc