from Square Gradient
Creates an image with a square gradient between two colors.
Return
An Image object representing the created square gradient image.
Parameters
width
The width of the image.
height
The height of the image.
density
The density of the gradient.
inner
The inner color of the gradient.
outer
The outer color of the gradient.