resolves #5
Implements textAlign Signed-off-by: Luca Béla Palkovics <luca.bela.palkovics@gmail.com>
This commit is contained in:
parent
9d15a4770e
commit
1aa1d69842
@ -746,7 +746,8 @@
|
||||
"font-weight" : font.weight,
|
||||
"text-decoration" : font.decoration,
|
||||
"x" : x,
|
||||
"y" : y
|
||||
"y" : y,
|
||||
"text-anchor": this.textAlign.replace("left", "start").replace("right", "end").replace("center", "middle")
|
||||
}, true);
|
||||
|
||||
textElement.appendChild(document.createTextNode(text));
|
||||
|
Loading…
x
Reference in New Issue
Block a user