pl.wendigo.chrome.api.layertree / ReplaySnapshotRequest

ReplaySnapshotRequest

data class ReplaySnapshotRequest (source)

Represents request frame that can be used with LayerTree#replaySnapshot operation call.

Replays the layer snapshot and returns the resulting bitmap.

Link
LayerTree#replaySnapshot method documentation.

See Also

LayerTreeOperations.replaySnapshot

Constructors

<init>

ReplaySnapshotRequest(snapshotId: SnapshotId, fromStep: Int? = null, toStep: Int? = null, scale: Double? = null)

Represents request frame that can be used with LayerTree#replaySnapshot operation call.

Properties

fromStep

val fromStep: Int?

The first step to replay from (replay from the very start if not specified).

scale

val scale: Double?

The scale to apply while replaying (defaults to 1).

snapshotId

val snapshotId: SnapshotId

The id of the layer snapshot.

toStep

val toStep: Int?

The last step to replay to (replay till the end if not specified).