Initialize a new image.
Parameters: pathOrIcon – either a path to an icon file, or an icon loaded
via graph.icon.
color – the solid background color (if the icon has transparency),
null for no background color.
borderColor – the borderColor, null for no border.
[Inherited comment]
Draw the background into the rectangle [0, 0, w, h].
Parameters: w – the rectangle width.
h – the rectangle height.
inset – the content inset