Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::BoundingPoly.
A bounding polygon for the detected image annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#normalized_vertices
def normalized_vertices() -> ::Array<::Google::Cloud::DocumentAI::V1::NormalizedVertex>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::NormalizedVertex>) — The bounding polygon normalized vertices.
#normalized_vertices=
def normalized_vertices=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::NormalizedVertex>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1::NormalizedVertex>) — The bounding polygon normalized vertices.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::NormalizedVertex>) — The bounding polygon normalized vertices.
#vertices
def vertices() -> ::Array<::Google::Cloud::DocumentAI::V1::Vertex>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::Vertex>) — The bounding polygon vertices.
#vertices=
def vertices=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Vertex>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1::Vertex>) — The bounding polygon vertices.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::Vertex>) — The bounding polygon vertices.