updated TextFormatAlign to match the one in openfl library

What was the reason behind having it as strings?
Can we switch to enums to match TextFormatAlign in openfl module?