fromResource

Creates an Image from resources.

Return

The Image created from the resource ID.

Parameters

id

A drawable resource ID.