More renaming

This commit is contained in:
Guillaume Beraudo
2018-11-13 16:57:03 +01:00
parent f3bd08321a
commit e299863117
12 changed files with 16 additions and 16 deletions

View File

@@ -1095,7 +1095,7 @@ class InstructionsExecutor {
const pathLength = lineStringLength(pixelCoordinates, begin, end, 2);
const textLength = measure(text);
if (overflow || textLength <= pathLength) {
/** @type {import("./TextReplay.js").default} */
/** @type {import("./TextBuilder.js").default} */
const textReplay = /** @type {?} */ (this);
const textAlign = textReplay.textStates[textKey].textAlign;
const startM = (pathLength - textLength) * TEXT_ALIGN[textAlign];

View File

@@ -10,10 +10,10 @@ import {isEmpty} from '../../obj.js';
import ReplayGroup from '../ReplayGroup.js';
import ReplayType from '../ReplayType.js';
import CanvasInstructionsBuilder from './InstructionsBuilder.js';
import CanvasImageReplay from './ImageReplay.js';
import CanvasLineStringReplay from './LineStringReplay.js';
import CanvasPolygonReplay from './PolygonReplay.js';
import CanvasTextReplay from './TextReplay.js';
import CanvasImageReplay from './ImageBuilder.js';
import CanvasLineStringReplay from './LineStringBuilder.js';
import CanvasPolygonReplay from './PolygonBuilder.js';
import CanvasTextReplay from './TextBuilder.js';
import {ORDER} from '../replay.js';
import {create as createTransform, compose as composeTransform} from '../../transform.js';