mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-08-07 21:18:40 +02:00
15 lines
378 B
JavaScript
15 lines
378 B
JavaScript
//A text iteme, i.e. a line, within a page
|
|
export default class TextItem {
|
|
|
|
constructor(options) {
|
|
this.x = options.x;
|
|
this.y = options.y;
|
|
this.width = options.width;
|
|
this.height = options.height;
|
|
this.text = options.text;
|
|
this.annotation = options.annotation;
|
|
this.markdownElement = options.markdownElement;
|
|
}
|
|
|
|
}
|