SwiftextensionCoreText

extension Foundation.AttributedString

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extension Foundation.AttributedString {
    struct LineHeight {
        enum BaselineIntervalStorage {
            enum CodingKeys {
                case variable
                case multiple
                case leading
                case exact
            }
            enum VariableCodingKeys {}
            enum MultipleCodingKeys {
                case factor
            }
            enum LeadingCodingKeys {
                case increase
            }
            enum ExactCodingKeys {
                case points
            }
            case multiple(factor: CoreGraphics.CGFloat)
            case leading(increase: CoreGraphics.CGFloat)
            case exact(points: CoreGraphics.CGFloat)
            case variable
        }
        enum CodingKeys {
            case baselineInterval
        }
        var baselineInterval: Foundation.AttributedString.LineHeight.BaselineIntervalStorage

        static var loose: Foundation.AttributedString.LineHeight {
            get
        }
        static var normal: Foundation.AttributedString.LineHeight {
            get
        }
        static var tight: Foundation.AttributedString.LineHeight {
            get
        }
        static var variable: Foundation.AttributedString.LineHeight {
            get
        }

        static func exact(points: CoreGraphics.CGFloat) -> Foundation.AttributedString.LineHeight
        static func leading(increase: CoreGraphics.CGFloat) -> Foundation.AttributedString.LineHeight
        static func multiple(factor: CoreGraphics.CGFloat) -> Foundation.AttributedString.LineHeight
    }
    struct AdaptiveImageGlyph {
        enum CodingKeys {
            case imageContent
            case contentIdentifier
            case contentDescription
        }
        let imageContent: Foundation.Data
        let contentIdentifier: Swift.String
        let contentDescription: Swift.String

        init(imageContent: Foundation.Data)
        init(_convertingFrom: __C.CTAdaptiveImageGlyph)

        static var contentType: UniformTypeIdentifiers.UTType {
            get
        }
    }
    enum TextAlignment {
        enum CodingKeys {
            case left
            case center
            case right
        }
        enum LeftCodingKeys {}
        enum CenterCodingKeys {}
        enum RightCodingKeys {}
        case left
        case center
        case right
    }
}