isTranslate property

bool get isTranslate

Returns true if Matrix is identity, or translates. Matrix form is:

| 1 0 translate-x | | 0 1 translate-y | | 0 0 1 |

@return true if Matrix is identity, or translates

Implementation

bool get isTranslate => c.mnn_cv_matrix_is_translate(ptr);