Image.shade

shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation.

class Image
void
shade
(
double azimuth = 30
,
double elevation = 30
,
bool shading = false
)

Parameters

azimuth double

The amount of degrees off the X axis.

elevation double

The amount of pixels above the Z axis.

shading bool

If true, shade shades the intensity of each pixel.

Meta