Sprache

AccessibilityNodeInfo.ExtraRenderingInfo.Builder.SetAlpha(Single) Method

Definition

Sets the opacity of the node.

[Android.Runtime.Register("setAlpha", "(F)Landroid/view/accessibility/AccessibilityNodeInfo$ExtraRenderingInfo$Builder;", "", ApiSince=37)]
public Android.Views.Accessibility.AccessibilityNodeInfo.ExtraRenderingInfo.Builder SetAlpha(float alpha);
[<Android.Runtime.Register("setAlpha", "(F)Landroid/view/accessibility/AccessibilityNodeInfo$ExtraRenderingInfo$Builder;", "", ApiSince=37)>]
member this.SetAlpha : single -> Android.Views.Accessibility.AccessibilityNodeInfo.ExtraRenderingInfo.Builder

Parameters

alpha
Single

The node opacity. Value is between 0.0f and 1.0f inclusive

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the opacity of the node.

Android reference for android.view.accessibility.AccessibilityNodeInfo.ExtraRenderingInfo.Builder.setAlpha.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to