scroll method

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

Implementation

void scroll(double dx, double dy) {
  if (scrollHorizontal) _scrollX += dx;
  if (scrollVertical)   _scrollY += dy;
}