Struct aws_sdk_textract::model::geometry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Geometry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bounding_box(self, input: BoundingBox) -> Self
pub fn bounding_box(self, input: BoundingBox) -> Self
An axis-aligned coarse representation of the location of the recognized item on the document page.
sourcepub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
pub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
An axis-aligned coarse representation of the location of the recognized item on the document page.
sourcepub fn polygon(self, input: Point) -> Self
pub fn polygon(self, input: Point) -> Self
Appends an item to polygon
.
To override the contents of this collection use set_polygon
.
Within the bounding box, a fine-grained polygon around the recognized item.
sourcepub fn set_polygon(self, input: Option<Vec<Point>>) -> Self
pub fn set_polygon(self, input: Option<Vec<Point>>) -> Self
Within the bounding box, a fine-grained polygon around the recognized item.