Source
Rectangle<num> get targetRectangle { num l = offsetRectangle.left / pixelRatio; num t = offsetRectangle.top / pixelRatio; num w = offsetRectangle.width / pixelRatio; num h = offsetRectangle.height / pixelRatio; return new Rectangle<num>(l, t, w, h); }