Sdílet prostřednictvím


RenderNode.SetProjectionReceiver(Boolean) Method

Definition

Sets whether the RenderNode is a projection receiver.

[Android.Runtime.Register("setProjectionReceiver", "(Z)Z", "", ApiSince=29)]
public bool SetProjectionReceiver (bool shouldRecieve);
[<Android.Runtime.Register("setProjectionReceiver", "(Z)Z", "", ApiSince=29)>]
member this.SetProjectionReceiver : bool -> bool

Parameters

shouldRecieve
Boolean

True if this RenderNode is a projection receiver, false otherwise. Default is false.

Returns

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

Attributes

Remarks

Sets whether the RenderNode is a projection receiver. If true then this RenderNode's parent should draw any descendant RenderNodes with ProjectBackwards=true directly on top of it. Default value is false. See #setProjectBackwards(boolean) for a description of what this entails.

Java documentation for android.graphics.RenderNode.setProjectionReceiver(boolean).

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