Scenic.Primitive.Style.TextAlign (Scenic v0.11.0-beta.0) View Source
Set the horizontal alignment of the text with regard to the start point.
Example:
graph
|> text( "Some Text", text_align: :center_middle )Data Format
TextAlign can be any one of the following values
:left- Left side horizontally. Base of the text vertically.:right- Right side horizontally. Base of the text vertically.:center- Centered horizontally. Base of the text vertically.