pl.wendigo.chrome.domain.layertree / ReplaySnapshotRequest

ReplaySnapshotRequest

data class ReplaySnapshotRequest (source)

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

Replays the layer snapshot and returns the resulting bitmap.

Constructors

<init>

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

Represents request frame that can be used with LayerTree.replaySnapshot method 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).