Skip to content
Menu
Auto
English
v1 is in long-term maintenance and continues to receive compatibility, security, and critical bug fixes. See the v2.

ImageOptions

Defined in: index.ts:807

Image options for background image or watermark image

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

optional alpha?: number

Defined in: index.ts:834

Image opacity from 0 (transparent) to 1 (opaque).

1
alpha: 0.5

optional rotate?: number

Defined in: index.ts:827

rotate image rotate 0-360

0
rotate: 45

optional scale?: number

Defined in: index.ts:820

image scale >0

1
scale: 1

src: any

Defined in: index.ts:813

Image source. Supports React Native image sources and base64 data URLs.

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