affinity Return the selection affinity of the selection. Declarationvar affinity: TextSelectionAffinity { get }