ctx.textAlign="start"; Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

ctx.textAlign="start"; Why?

ctx.textAlign="start"; Зачем нужна эта строка?(Why it used?)

1st Feb 2020, 7:08 PM
Шабалин Евгений Сергеевич
1 Answer
+ 4
//It's use for align text in canvas //I think you need this https://www.w3schools.com/tags/canvas_textalign.asp
1st Feb 2020, 7:13 PM
Sudarshan Rai
Sudarshan Rai - avatar