Function Image.getRect

Returns a new image that is a copy of the image's area specified with rect.

godot.d.reference.Ref!(godot.image.Image) getRect (
  const(Rect2) rect
) nothrow @nogc const;