Text blocks on a canvas; incl. dimension calculation for backgrounds and borders

let txt = new Text(new Point(50, 50), "Hello World!");
txt.draw(context);


let msg1 = new TextBlock(new Point(50, 125));
msg1.heading("Mengdiposelanu");
msg1.text("Qui officia deserunt mollit anim id est laborum.");
msg1.draw(context);