Google Cloud Data Loss Prevention v2 API - Class BoundingBox (4.27.0)

public sealed class BoundingBox : IMessage<BoundingBox>, IEquatable<BoundingBox>, IDeepCloneable<BoundingBox>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class BoundingBox.

Bounding box encompassing detected text within an image. Coordinates are in pixels and strictly within the image or frame bounds.

Inheritance

object > BoundingBox

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

BoundingBox()

public BoundingBox()

BoundingBox(BoundingBox)

public BoundingBox(BoundingBox other)
Parameter
Name Description
other BoundingBox

Properties

Height

public int Height { get; set; }

Height of the bounding box in pixels.

Property Value
Type Description
int

Left

public int Left { get; set; }

Left coordinate of the bounding box. (0,0) is upper left.

Property Value
Type Description
int

Top

public int Top { get; set; }

Top coordinate of the bounding box. (0,0) is upper left.

Property Value
Type Description
int

Width

public int Width { get; set; }

Width of the bounding box in pixels.

Property Value
Type Description
int