Change Affinity into an enum class
Created attachment 407806 [details] Patch
Came from one of the things Sam Weinig asked for in my last patch.
Committed r266489: <https://trac.webkit.org/changeset/266489>
<rdar://problem/68232949>