encodableInRect property
bool
get
encodableInRect
Whether this matrix can be expressed be applied to a rect without any loss of inforamtion.
In other words, if this matrix is a simple translate and/or non-negative scale with no rotation or skew, this property is true. Otherwise, it is false.
Implementation
bool get encodableInRect {
return a > 0 && b == 0 && c == 0 && d > 0 && _m4_10 == a;
}