//
// Copyright 2018-2019 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//

import CoreGraphics

public struct IdentifiedLine: IdentifiedText {

    public let text: String
    public let boundingBox: CGRect
    public let polygon: Polygon?
    public let page: Int?

    public init(text: String, boundingBox: CGRect, polygon: Polygon? = nil, page: Int? = nil) {
        self.text = text
        self.boundingBox = boundingBox
        self.polygon = polygon
        self.page = page
    }
}
