examples/PathText/vertical_alignment_layout.ts
Function init
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(600, 220, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
stage.scaleX = stage.scaleY = 4;