This commit is contained in:
2025-01-04 00:34:03 +01:00
parent 41829408dc
commit 0ca14bbc19
18111 changed files with 1871397 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
"use strict";
class BatchPart {
constructor() {
this.reset();
}
/**
* Begin batch part.
* @param style
* @param startIndex
* @param attribStart
*/
begin(style, startIndex, attribStart) {
this.reset(), this.style = style, this.start = startIndex, this.attribStart = attribStart;
}
/**
* End batch part.
* @param endIndex
* @param endAttrib
*/
end(endIndex, endAttrib) {
this.attribSize = endAttrib - this.attribStart, this.size = endIndex - this.start;
}
reset() {
this.style = null, this.size = 0, this.start = 0, this.attribStart = 0, this.attribSize = 0;
}
}
exports.BatchPart = BatchPart;
//# sourceMappingURL=BatchPart.js.map