IFinderPattern Interface

Definition

As we did for ResultPoint, we use an interfaced object to implement automatic deallocation of TAligmnentPattern instances the actual implementation of this interface is in unit ZXing.QrCode.Internal.FinderPatternImplementation

Delphi
type IFinderPattern = interface(IResultPoint)
Inheritance
IInterface
IFinderPattern
Derived

Properties

count
x (Inherited from IResultPoint)
y (Inherited from IResultPoint)

Methods

Equals(TObject) (Inherited from IResultPoint)
GetCount
GetHashCode (Inherited from IResultPoint)
GetX (Inherited from IResultPoint)
GetY (Inherited from IResultPoint)
SetCount(Integer)
SetX(Single) (Inherited from IResultPoint)
SetY(Single) (Inherited from IResultPoint)
ToString (Inherited from IResultPoint)
aboutEquals(Single, Single, Single)

Determines if this finder pattern "about equals" a finder pattern at the stated position and size -- meaning, it is at nearly the same center with nearly the same size.

combineEstimate(Single, Single, Single)

Combines this object's current estimate of a finder pattern position and module size with a new estimate. It returns a new {@code FinderPattern} containing a weighted average based on count.

estimatedModuleSize

Gets the size of the estimated module.