type property
TypeMask
get
type
Returns a bit field describing the transformations the matrix may perform. The bit field is computed conservatively, so it may include false positives.
For example, when kPerspective_Mask is set, all other bits are set.
TypeMask.kIdentity_Mask, or combinations of: TypeMask.kTranslate_Mask, TypeMask.kScale_Mask, TypeMask.kAffine_Mask, TypeMask.kPerspective_Mask
Implementation
TypeMask get type => TypeMask.fromValue(c.mnn_cv_matrix_get_type(ptr));