computePerspectiveTransform method
Compute a
Implementation
PerspectiveTransform computePerspectiveTransform() {
return PerspectiveTransform.fromQuadrilaterals(
[
Position(3.5, 3.5),
Position(dimension.size - 3.5, 3.5),
Position(dimension.size - 6.5, dimension.size - 6.5),
Position(3.5, dimension.size - 3.5),
],
[
topLeft,
topRight,
alignmentPattern,
bottomLeft,
],
);
}