Interface PositionOptions

Description

PositionOptions for text watermark and image watermark, if you set position you don't need to set X and Y

Example

positionOptions: {
X: 10,
Y: 10,
}
// or
positionOptions: {
position: Position.topLeft,
}
// or
positionOptions: {
X: '10%', // relative to the width of the background image
Y: '10%', // relative to the width of the background image
}

Hierarchy

  • PositionOptions

Properties

Properties

X?: string | number
Y?: string | number
position?: Position

Generated using TypeDoc