klyn.gui.windows.Painter.textAlign
property
public property textAlign as String
Description

Horizontal text anchor: left/start (default), center, or right/end. Applied by both filled and stroked text.

painter.textAlign = "center"
painter.fillText("Centered", 160, 40)