IAlignmentPattern 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.AlignmentPatternImplementation

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

Properties

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

Methods

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

Determines if this alignment pattern "about equals" an alignment 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 an average of the two.