Function ItemList.getItemIconRegion

Returns the region of item's icon used. The whole icon will be used if the region has no area.

Rect2 getItemIconRegion (
  const(long) idx
) nothrow @nogc const;