Edit

Share via


CGContext.SetAlpha(nfloat) Method

Definition

Sets the opacity for drawing, in the range 0.0 (transparent) to 1.0 (opaque).

public void SetAlpha (nfloat alpha);

Parameters

alpha
nfloat

Clipped to the range 0.0 (transparent) to 1.0 (opaque).

Applies to

Product Versions
Xamarin iOS SDK 12