Types
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Information about a compositing layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Serialized fragment of layer picture along with its offset within the layer.
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
Rectangle where scrolling happens on the main thread.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
Sticky position constraints.
Functions
Link copied to clipboard
suspend fun compositingReasons(args: LayerTree.CompositingReasonsParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.CompositingReasonsReturn
Provides the reasons why the given layer was composited.
Link copied to clipboard
Disables compositing tree inspection.
Link copied to clipboard
Enables compositing tree inspection.
Link copied to clipboard
suspend fun loadSnapshot(args: LayerTree.LoadSnapshotParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.LoadSnapshotReturn
Returns the snapshot identifier.
Link copied to clipboard
suspend fun makeSnapshot(args: LayerTree.MakeSnapshotParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.MakeSnapshotReturn
Returns the layer snapshot identifier.
Link copied to clipboard
suspend fun profileSnapshot(args: LayerTree.ProfileSnapshotParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.ProfileSnapshotReturn
suspend fun profileSnapshot(snapshotId: String, minRepeatCount: Int? = null, minDuration: Double? = null, clipRect: DOM.Rect? = null): LayerTree.ProfileSnapshotReturn
Link copied to clipboard
suspend fun releaseSnapshot(args: LayerTree.ReleaseSnapshotParameter, mode: CommandMode = CommandMode.DEFAULT)
Releases layer snapshot captured by the back-end.
Link copied to clipboard
suspend fun replaySnapshot(args: LayerTree.ReplaySnapshotParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.ReplaySnapshotReturn
suspend fun replaySnapshot(snapshotId: String, fromStep: Int? = null, toStep: Int? = null, scale: Double? = null): LayerTree.ReplaySnapshotReturn
Replays the layer snapshot and returns the resulting bitmap.
Link copied to clipboard
suspend fun snapshotCommandLog(args: LayerTree.SnapshotCommandLogParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.SnapshotCommandLogReturn
Replays the layer snapshot and returns canvas log.