rows property

int rows

Compute the number of rows the image has by using the image height and tile size.

Implementation

int get rows => image.height ~/ srcSize.y;