다음을 통해 공유


RenderNode.UseCompositingLayer Property

Definition

Gets whether or not a compositing layer is forced to be used.

public bool UseCompositingLayer { [Android.Runtime.Register("getUseCompositingLayer", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getUseCompositingLayer", "()Z", "", ApiSince=29)>]
member this.UseCompositingLayer : bool

Property Value

true if a compositing layer is forced, false otherwise

Attributes

Remarks

Gets whether or not a compositing layer is forced to be used. The default & recommended is false, as it is typically faster to avoid using compositing layers. See #setUseCompositingLayer(boolean, Paint).

Java documentation for android.graphics.RenderNode.getUseCompositingLayer().

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