RenderNode.SetElevation(Single) Method

Definition

Sets the base elevation of this RenderNode in pixels

[Android.Runtime.Register("setElevation", "(F)Z", "", ApiSince=29)]
public bool SetElevation (float lift);
[<Android.Runtime.Register("setElevation", "(F)Z", "", ApiSince=29)>]
member this.SetElevation : single -> bool

Parameters

lift
Single

the elevation in pixels

Returns

True if the value changed, false if the new value was the same as the previous value.

Attributes

Remarks

Sets the base elevation of this RenderNode in pixels

Java documentation for android.graphics.RenderNode.setElevation(float).

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