Table of Contents

Class BoundingBox

Namespace
ZXing.PDF417.Internal
Assembly
zxing.dll

A Bounding Box helper class

public sealed class BoundingBox
Inheritance
BoundingBox
Inherited Members

Properties

BottomLeft

bottom left corner of the box

public ResultPoint BottomLeft { get; }

Property Value

ResultPoint

BottomRight

bottom right corner of the box

public ResultPoint BottomRight { get; }

Property Value

ResultPoint

MaxX

max x

public int MaxX { get; }

Property Value

int

MaxY

max y

public int MaxY { get; }

Property Value

int

MinX

min x

public int MinX { get; }

Property Value

int

MinY

min y

public int MinY { get; }

Property Value

int

TopLeft

top left corner of the box

public ResultPoint TopLeft { get; }

Property Value

ResultPoint

TopRight

top right corner of the box

public ResultPoint TopRight { get; }

Property Value

ResultPoint

Methods

Create(BitMatrix, ResultPoint, ResultPoint, ResultPoint, ResultPoint)

Initializes a new instance of the BoundingBox class. returns null if the corner points don't match up correctly

public static BoundingBox Create(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight)

Parameters

image BitMatrix

The image.

topLeft ResultPoint

The top left.

bottomLeft ResultPoint

The bottom left.

topRight ResultPoint

The top right.

bottomRight ResultPoint

The bottom right.

Returns

BoundingBox

Create(BoundingBox)

Creates the specified box.

public static BoundingBox Create(BoundingBox box)

Parameters

box BoundingBox

The box.

Returns

BoundingBox

addMissingRows(int, int, bool)

Adds the missing rows.

public BoundingBox addMissingRows(int missingStartRows, int missingEndRows, bool isLeft)

Parameters

missingStartRows int

Missing start rows.

missingEndRows int

Missing end rows.

isLeft bool

If set to true is left.

Returns

BoundingBox

The missing rows.