Android.Graphics.Paint.SetShadowLayer Method
This draws a shadow layer below the main layer, with the specified offset and color, and blur radius.

Syntax

[Android.Runtime.Register("setShadowLayer", "(FFFI)V", "GetSetShadowLayer_FFFIHandler")]
public virtual void SetShadowLayer (float radius, float dx, float dy, Color color)

Parameters

radius
Documentation for this section has not yet been entered.
dx
Documentation for this section has not yet been entered.
dy
Documentation for this section has not yet been entered.
shadowColor
Documentation for this section has not yet been entered.

Remarks

This draws a shadow layer below the main layer, with the specified offset and color, and blur radius. If radius is 0, then the shadow layer is removed.

Can be used to create a blurred shadow underneath text. Support for use with other drawing operations is constrained to the software rendering pipeline.

The alpha of the shadow will be the paint's alpha if the shadow color is opaque, or the alpha from the shadow color if not.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1