columns property

int get columns

How many columns of frames the image holds.

Implementation

int get columns => image.width ~/ cell.x;