setTranslate method

void setTranslate(
  1. double dx,
  2. double dy
)

Sets Matrix to translate by (dx, dy).

@param dx horizontal translation @param dy vertical translation

Implementation

void setTranslate(double dx, double dy) => c.mnn_cv_matrix_set_translate(ptr, dx, dy);