RenderNode.HasDisplayList Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether the RenderNode has a display list.
public bool HasDisplayList { [Android.Runtime.Register("hasDisplayList", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("hasDisplayList", "()Z", "", ApiSince=29)>]
member this.HasDisplayList : bool
Property Value
boolean true if this RenderNode has a display list, false otherwise.
- Attributes
Remarks
Returns whether the RenderNode has a display list. If this returns false, the RenderNode should be re-recorded with #beginRecording()
and #endRecording()
.
A RenderNode without a display list may still be drawn, however it will have no impact on the rendering content until its display list is updated.
When a RenderNode is no longer drawn by anything the system may automatically invoke #discardDisplayList()
. It is therefore important to ensure that #hasDisplayList()
is true on a RenderNode prior to drawing it.
See #discardDisplayList()
Java documentation for android.graphics.RenderNode.hasDisplayList()
.
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.