ImageOptions
Defined in: index.ts:699
Image options for background image or watermark image
Example
Section titled “Example”{ * src: require('./images/logo.png'), * scale: 0.5, * rotate: 45, * alpha: 0.5 * }Extended by
Section titled “Extended by”Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: index.ts:726
Image opacity from 0 (transparent) to 1 (opaque).
Default Value
Section titled “Default Value”1Example
Section titled “Example”alpha: 0.5rotate?
Section titled “rotate?”
optionalrotate?:number
Defined in: index.ts:719
rotate image rotate 0-360
Default Value
Section titled “Default Value”0Example
Section titled “Example”rotate: 45scale?
Section titled “scale?”
optionalscale?:number
Defined in: index.ts:712
image scale >0
Default Value
Section titled “Default Value”1Example
Section titled “Example”scale: 1src:
any
Defined in: index.ts:705
Image source. Supports React Native image sources and base64 data URLs.
Example
Section titled “Example”src: require('./images/logo.png')