rectTransform method
Implementation
GRect rectTransform(
double ix,
double iy, [
double iWidth = 0,
double iHeight = 0,
]) {
final x = ix * _canvasRect.scale + _canvasRect.x;
final y = iy * _canvasRect.scale + _canvasRect.y;
final width = iWidth * _canvasRect.scale;
final height = iHeight * _canvasRect.scale;
return GRect(x, y, width, height);
}