ComparisonDiff class

An object with data on the difference of render metrics between two objects RenderData

yTop - difference of the upper Y position relative to the screen yBottom - difference of the lower Y position relative to the screen yCenter - difference of the central Y position relative to the screen xLeft - difference left X position relative to the screen xRight - difference of the right X position relative to the screen xCenter - difference of the central X position relative to the screen diffTopToBottom - difference between the upper border of first object and the lower border of second object diffBottomToTop - difference between the lower border of first object and the upper border of second object diffLeftToRight - difference between the left border of first object and the right border of second object diffRightToLeft - difference between the right border of first object and the left border of second object width - difference in width of elements height - difference in element heights topLeft - upper left coordinate topRight - upper right coordinate bottomLeft - lower left coordinate bottomRight - lower right coordinate center - central coordinate topCenter - upper center coordinate bottomCenter - lower central coordinate centerLeft - center left coordinate centerRight - center right coordinate

Constructors

ComparisonDiff({required double yTop, required double yBottom, required double yCenter, required double xLeft, required double xRight, required double xCenter, required double diffTopToBottom, required double diffBottomToTop, required double diffLeftToRight, required double diffRightToLeft, required double width, required double height})
const

Properties

bottomCenter → CoordsMetrics
no setter
bottomLeft → CoordsMetrics
no setter
bottomRight → CoordsMetrics
no setter
center → CoordsMetrics
no setter
centerLeft → CoordsMetrics
no setter
centerRight → CoordsMetrics
no setter
diffBottomToTop double
final
diffLeftToRight double
final
diffRightToLeft double
final
diffTopToBottom double
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topCenter → CoordsMetrics
no setter
topLeft → CoordsMetrics
no setter
topRight → CoordsMetrics
no setter
width double
final
xCenter double
final
xLeft double
final
xRight double
final
yBottom double
final
yCenter double
final
yTop double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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