textAlign()
Set how text is aligned
textAlign(horizAlign, [vertAlign])Input
Description
Examples
textAlign(LEFT)
text("ABCD", 50, 25)
textAlign(RIGHT)
text("ABCD", 50, 50)
textAlign(CENTER)
text("ABCD", 50, 75)
stroke("red")
strokeWeight(5)
point(50, 25)
point(50, 50)
point(50, 75)Last updated

