Click or drag to resize

GH_MemoryBitmapFilter_DropShadow Method

Add a drop-shadow to the image. Image is not grown, so if you want the drop shadow to extend beyond the image boundaries, you have to add padding to the image first.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void Filter_DropShadow(
	Size offset,
	int blur,
	double darkness
)

Parameters

offset
Type: System.DrawingSize
Number of pixels (x and y) to offset the drop shadow.
blur
Type: SystemInt32
Amount of blurring for the shadow.
darkness
Type: SystemDouble
Darkness factor for the shadow.
See Also