Marker
Defined in: web/index.ts:59
Public image-marking API shared by native and Web targets.
Metro selects the native TurboModule implementation on iOS and Android. React Native Web and standard browser bundlers select this SSR-safe Canvas 2D implementation, which only touches DOM globals when a method is called.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Marker():
Marker
Returns
Section titled “Returns”Marker
Methods
Section titled “Methods”mark()
Section titled “mark()”
staticmark(options):Promise<string>
Defined in: web/index.ts:95
Render ordered mixed text and image watermark layers.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<string>
markImage()
Section titled “markImage()”
staticmarkImage(options):Promise<string>
Defined in: web/index.ts:77
Render one or more image watermark layers.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<string>
markText()
Section titled “markText()”
staticmarkText(options):Promise<string>
Defined in: web/index.ts:61
Render one or more text watermark layers.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<string>