Interface ImageOptions

Description

Image options for background image or watermark image

Example

{
* src: require('./images/logo.png'),
* scale: 0.5,
* rotate: 45,
* alpha: 0.5
* }

Hierarchy

Properties

Properties

alpha?: number

Description

transparent of background image 0 - 1

Default Value

1

Example

alpha: 0.5
rotate?: number

Description

rotate image rotate 0-360

Default Value

0

Example

rotate: 45
scale?: number

Description

image scale >0

Default Value

1

Example

scale: 1
src: any

Description

image src, local image

Example

src: require('./images/logo.png')

Generated using TypeDoc