{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

GraphicLayerInfo

public interface GraphicLayerInfo


The info about the graphics layers used by tooling.

Summary

Public methods

abstract long

The ID of the layer.

default long

The uniqueDrawingId of the owner view of this graphics layer.

Public methods

getLayerId

abstract long getLayerId()

The ID of the layer. This is used by tooling to match a layer to the associated LayoutNode.

getOwnerViewId

default long getOwnerViewId()

The uniqueDrawingId of the owner view of this graphics layer. This is used by tooling to match a layer to the associated owner AndroidComposeView.