Skip to content
Menu
Auto
English

ImageOptions

Defined in: index.ts:699

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:726

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

1
alpha: 0.5

optional rotate?: number

Defined in: index.ts:719

rotate image rotate 0-360

0
rotate: 45

optional scale?: number

Defined in: index.ts:712

image scale >0

1
scale: 1

src: any

Defined in: index.ts:705

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

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