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

Whether the watermark is visible in the local preview view: true : (Default) The watermark is visible in the local preview view. false : The watermark is not visible in the local preview view.

watermarkRatio?: WatermarkRatio

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

Generated using TypeDoc