mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Creates IPDFTextLayerFactory interface
This commit is contained in:
parent
f68678086d
commit
7663942ee5
3 changed files with 29 additions and 11 deletions
|
@ -83,3 +83,17 @@ ILastScrollSource.prototype = {
|
|||
*/
|
||||
get lastScroll() {},
|
||||
};
|
||||
|
||||
/**
|
||||
* @interface
|
||||
*/
|
||||
function IPDFTextLayerFactory() {}
|
||||
IPDFTextLayerFactory.prototype = {
|
||||
/**
|
||||
* @param {HTMLDivElement} textLayerDiv
|
||||
* @param {number} pageIndex
|
||||
* @param {PageViewport} viewport
|
||||
* @returns {TextLayerBuilder}
|
||||
*/
|
||||
createTextLayerBuilder: function (textLayerDiv, pageIndex, viewport) {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue