DisplayListDevice#

CONSTRUCTOR METHODS

DisplayListDevice(displayList: DisplayList)#

Create a device for recording onto a display list.

Parameters:

displayListDisplayList.

Returns:

DisplayListDevice.

EXAMPLE

var myDisplayList = new mupdfjs.DisplayList([0,0,100,100]);
var displayListDevice = new mupdfjs.DisplayListDevice(myDisplayList);

Code samples

Code samples are in TypeScript and assume that the following requirements are defined in your TypeScript file header as follows:

import * as fs from "fs"
import * as mupdfjs from "mupdf/mupdfjs"