C# 클래스 ZXing.PDF417.Internal.BoundingBox

A Bounding Box helper class
파일 보기 프로젝트 열기: Redth/ZXing.Net.Mobile 1 사용 예제들

공개 메소드들

메소드 설명
Create ( BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight ) : BoundingBox

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

Create ( BoundingBox box ) : BoundingBox

Creates the specified box.

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

Adds the missing rows.

비공개 메소드들

메소드 설명
BoundingBox ( BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight ) : System

Initializes a new instance of the ZXing.PDF417.Internal.BoundingBox class. Will throw an exception if the corner points don't match up correctly

SetBottomRight ( ResultPoint bottomRight ) : void

If we adjust the width, set a new right corner coordinate and recalculate

calculateMinMaxValues ( ) : void

Calculates the minimum and maximum X & Y values based on the corner points.

merge ( BoundingBox leftBox, BoundingBox rightBox ) : BoundingBox

Merge two Bounding Boxes, getting the left corners of left, and the right corners of right (Images should be the same)

메소드 상세

Create() 공개 정적인 메소드

Initializes a new instance of the ZXing.PDF417.Internal.BoundingBox class. returns null if the corner points don't match up correctly
public static Create ( BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight ) : BoundingBox
image ZXing.Common.BitMatrix The image.
topLeft ResultPoint The top left.
bottomLeft ResultPoint The bottom left.
topRight ResultPoint The top right.
bottomRight ResultPoint The bottom right.
리턴 BoundingBox

Create() 공개 정적인 메소드

Creates the specified box.
public static Create ( BoundingBox box ) : BoundingBox
box BoundingBox The box.
리턴 BoundingBox

addMissingRows() 공개 메소드

Adds the missing rows.
public addMissingRows ( int missingStartRows, int missingEndRows, bool isLeft ) : BoundingBox
missingStartRows int Missing start rows.
missingEndRows int Missing end rows.
isLeft bool If set to true is left.
리턴 BoundingBox