AlignmentPattern class

Encapsulates an alignment pattern, which are the smaller square patterns found in all but the simplest QR Codes.

@author Sean Owen

Inheritance

Constructors

AlignmentPattern(double posX, double posY, double _estimatedModuleSize)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
no setterinherited
y double
no setterinherited

Methods

aboutEquals(double moduleSize, double i, double j) bool
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(double i, double j, double newModuleSize) AlignmentPattern
Combines this object's current estimate of a finder pattern position and module size with a new estimate. It returns a new FinderPattern` containing an average of the two.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited