diff --git a/canvas.ts b/canvas.ts index c58af53..b98616f 100644 --- a/canvas.ts +++ b/canvas.ts @@ -414,6 +414,15 @@ interface IStyle { noStroke?: boolean; noFill?: boolean; + + textAlign?: "center" | "end" | "left" | "right" | "start"; + textBaseline?: + | "alphabetic" + | "top" + | "hanging" + | "middle" + | "ideographic" + | "bottom"; } interface IDrawable {