valueOf

Utility function to get TextRotationAlignment instance from given value.