         case alignment
         case size
     }
+
 
     // MARK: - Origin calculation
 

import Foundation
import UIKit

/// Custom text attachment.
///


    // MARK: - NSCoder Support

    override open func encode(with aCoder: NSCoder) {
        super.encode(with: aCoder)
        aCoder.encode(alignment.rawValue, forKey: EncodeKeys.alignment.rawValue)
