Layer
@Serializable
Information about a compositing layer.
Constructors
Link copied to clipboard
constructor(layerId: String, parentLayerId: String? = null, backendNodeId: Int? = null, offsetX: Double, offsetY: Double, width: Double, height: Double, transform: List<Double>? = null, anchorX: Double? = null, anchorY: Double? = null, anchorZ: Double? = null, paintCount: Int, drawsContent: Boolean, invisible: Boolean? = null, scrollRects: List<LayerTree.ScrollRect>? = null, stickyPositionConstraint: LayerTree.StickyPositionConstraint? = null)
Properties
Link copied to clipboard
The backend id for the node associated with this layer.
Link copied to clipboard
Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
Link copied to clipboard
Indicates how many time this layer has painted.
Link copied to clipboard
The id of parent (not present for root).
Link copied to clipboard
Rectangles scrolling on main thread only.
Link copied to clipboard
Sticky position constraint information