Class Google::Cloud::Dlp::V2::BoundingBox (v0.8.1)

Bounding box encompassing detected text within an image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Integer
Returns
  • (::Integer) — Height of the bounding box in pixels.

#height=

def height=(value) -> ::Integer
Parameter
  • value (::Integer) — Height of the bounding box in pixels.
Returns
  • (::Integer) — Height of the bounding box in pixels.

#left

def left() -> ::Integer
Returns
  • (::Integer) — Left coordinate of the bounding box. (0,0) is upper left.

#left=

def left=(value) -> ::Integer
Parameter
  • value (::Integer) — Left coordinate of the bounding box. (0,0) is upper left.
Returns
  • (::Integer) — Left coordinate of the bounding box. (0,0) is upper left.

#top

def top() -> ::Integer
Returns
  • (::Integer) — Top coordinate of the bounding box. (0,0) is upper left.

#top=

def top=(value) -> ::Integer
Parameter
  • value (::Integer) — Top coordinate of the bounding box. (0,0) is upper left.
Returns
  • (::Integer) — Top coordinate of the bounding box. (0,0) is upper left.

#width

def width() -> ::Integer
Returns
  • (::Integer) — Width of the bounding box in pixels.

#width=

def width=(value) -> ::Integer
Parameter
  • value (::Integer) — Width of the bounding box in pixels.
Returns
  • (::Integer) — Width of the bounding box in pixels.