Struct aws_sdk_textract::model::bounding_box::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BoundingBox
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn width(self, input: f32) -> Self
pub fn width(self, input: f32) -> Self
The width of the bounding box as a ratio of the overall document page width.
sourcepub fn set_width(self, input: Option<f32>) -> Self
pub fn set_width(self, input: Option<f32>) -> Self
The width of the bounding box as a ratio of the overall document page width.
sourcepub fn height(self, input: f32) -> Self
pub fn height(self, input: f32) -> Self
The height of the bounding box as a ratio of the overall document page height.
sourcepub fn set_height(self, input: Option<f32>) -> Self
pub fn set_height(self, input: Option<f32>) -> Self
The height of the bounding box as a ratio of the overall document page height.
sourcepub fn left(self, input: f32) -> Self
pub fn left(self, input: f32) -> Self
The left coordinate of the bounding box as a ratio of overall document page width.
sourcepub fn set_left(self, input: Option<f32>) -> Self
pub fn set_left(self, input: Option<f32>) -> Self
The left coordinate of the bounding box as a ratio of overall document page width.
sourcepub fn top(self, input: f32) -> Self
pub fn top(self, input: f32) -> Self
The top coordinate of the bounding box as a ratio of overall document page height.
sourcepub fn set_top(self, input: Option<f32>) -> Self
pub fn set_top(self, input: Option<f32>) -> Self
The top coordinate of the bounding box as a ratio of overall document page height.
sourcepub fn build(self) -> BoundingBox
pub fn build(self) -> BoundingBox
Consumes the builder and constructs a BoundingBox
.