offsetHeightRatio property

double get offsetHeightRatio

Implementation

double get offsetHeightRatio {
  var offsetH = _canvas.offset.height;
  if (offsetH == 0) return 0;
  return _renderedImageHeight / offsetH;
}