Upravit

Sdílet prostřednictvím


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);
member this.SetAlpha : nfloat -> unit

Parameters

alpha
nfloat

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

Applies to