Edytuj

Udostępnij za pośrednictwem


WKInterfaceObject.SetAlpha(nfloat) Method

Definition

Sets the transparency of the interface object.

[Foundation.Export("setAlpha:")]
public virtual void SetAlpha (nfloat alpha);
abstract member SetAlpha : nfloat -> unit
override this.SetAlpha : nfloat -> unit

Parameters

alpha
nfloat

The alpha value, in the range 0 (totally transparent) to 1.0 (totally opaque).

Attributes

Applies to