public interface LayerTree
Modifier and Type | Method | Description |
---|---|---|
List<String> |
compositingReasons(String layerId) |
Provides the reasons why the given layer was composited.
|
void |
disable() |
Disables compositing tree inspection.
|
void |
enable() |
Enables compositing tree inspection.
|
String |
loadSnapshot(List<PictureTile> tiles) |
Returns the snapshot identifier.
|
String |
makeSnapshot(String layerId) |
Returns the layer snapshot identifier.
|
List<Double> |
profileSnapshot(String snapshotId) |
|
List<Double> |
profileSnapshot(String snapshotId,
Integer minRepeatCount,
Double minDuration,
Rect clipRect) |
|
void |
releaseSnapshot(String snapshotId) |
Releases layer snapshot captured by the back-end.
|
String |
replaySnapshot(String snapshotId) |
Replays the layer snapshot and returns the resulting bitmap.
|
String |
replaySnapshot(String snapshotId,
Integer fromStep,
Integer toStep,
Double scale) |
Replays the layer snapshot and returns the resulting bitmap.
|
List<String> compositingReasons(String layerId)
layerId
- The id of the layer for which we want to get the reasons it was composited.void disable()
void enable()
String loadSnapshot(List<PictureTile> tiles)
tiles
- An array of tiles composing the snapshot.String makeSnapshot(String layerId)
layerId
- The id of the layer.List<Double> profileSnapshot(String snapshotId, Integer minRepeatCount, Double minDuration, Rect clipRect)
void releaseSnapshot(String snapshotId)
snapshotId
- The id of the layer snapshot.String replaySnapshot(String snapshotId, Integer fromStep, Integer toStep, Double scale)
snapshotId
- The id of the layer snapshot.fromStep
- The first step to replay from (replay from the very start if not specified).toStep
- The last step to replay to (replay till the end if not specified).scale
- The scale to apply while replaying (defaults to 1).Copyright © 2017, 2018–2018 WebFolder OÜ. All rights reserved.