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
Type: double

The amount of degrees off the X axis.

elevation
Type: double

The amount of pixels above the Z axis.

shading
Type: bool

If true, shade shades the intensity of each pixel.

Meta