(compositing-reasons)(compositing-reasons {:as params :keys [layer-id]})(compositing-reasons connection {:as params :keys [layer-id]})Provides the reasons why the given layer was composited.
Parameters map keys:
| Key | Description |
|---|---|
| :layer-id | The id of the layer for which we want to get the reasons it was composited. |
Return map keys:
| Key | Description |
|---|---|
| :compositing-reasons | A list of strings specifying reasons for the given layer to become composited. |
Provides the reasons why the given layer was composited. Parameters map keys: Key | Description ----------|------------ :layer-id | The id of the layer for which we want to get the reasons it was composited. Return map keys: Key | Description ---------------------|------------ :compositing-reasons | A list of strings specifying reasons for the given layer to become composited.
(disable)(disable {:as params :keys []})(disable connection {:as params :keys []})Disables compositing tree inspection.
Disables compositing tree inspection.
(enable)(enable {:as params :keys []})(enable connection {:as params :keys []})Enables compositing tree inspection.
Enables compositing tree inspection.
(load-snapshot)(load-snapshot {:as params :keys [tiles]})(load-snapshot connection {:as params :keys [tiles]})Returns the snapshot identifier.
Parameters map keys:
| Key | Description |
|---|---|
| :tiles | An array of tiles composing the snapshot. |
Return map keys:
| Key | Description |
|---|---|
| :snapshot-id | The id of the snapshot. |
Returns the snapshot identifier. Parameters map keys: Key | Description -------|------------ :tiles | An array of tiles composing the snapshot. Return map keys: Key | Description -------------|------------ :snapshot-id | The id of the snapshot.
(make-snapshot)(make-snapshot {:as params :keys [layer-id]})(make-snapshot connection {:as params :keys [layer-id]})Returns the layer snapshot identifier.
Parameters map keys:
| Key | Description |
|---|---|
| :layer-id | The id of the layer. |
Return map keys:
| Key | Description |
|---|---|
| :snapshot-id | The id of the layer snapshot. |
Returns the layer snapshot identifier. Parameters map keys: Key | Description ----------|------------ :layer-id | The id of the layer. Return map keys: Key | Description -------------|------------ :snapshot-id | The id of the layer snapshot.
(profile-snapshot)(profile-snapshot {:as params
:keys [snapshot-id min-repeat-count min-duration clip-rect]})(profile-snapshot connection
{:as params
:keys [snapshot-id min-repeat-count min-duration clip-rect]})Parameters map keys:
| Key | Description |
|---|---|
| :snapshot-id | The id of the layer snapshot. |
| :min-repeat-count | The maximum number of times to replay the snapshot (1, if not specified). (optional) |
| :min-duration | The minimum duration (in seconds) to replay the snapshot. (optional) |
| :clip-rect | The clip rectangle to apply when replaying the snapshot. (optional) |
Return map keys:
| Key | Description |
|---|---|
| :timings | The array of paint profiles, one per run. |
Parameters map keys: Key | Description ------------------|------------ :snapshot-id | The id of the layer snapshot. :min-repeat-count | The maximum number of times to replay the snapshot (1, if not specified). (optional) :min-duration | The minimum duration (in seconds) to replay the snapshot. (optional) :clip-rect | The clip rectangle to apply when replaying the snapshot. (optional) Return map keys: Key | Description ---------|------------ :timings | The array of paint profiles, one per run.
(release-snapshot)(release-snapshot {:as params :keys [snapshot-id]})(release-snapshot connection {:as params :keys [snapshot-id]})Releases layer snapshot captured by the back-end.
Parameters map keys:
| Key | Description |
|---|---|
| :snapshot-id | The id of the layer snapshot. |
Releases layer snapshot captured by the back-end. Parameters map keys: Key | Description -------------|------------ :snapshot-id | The id of the layer snapshot.
(replay-snapshot)(replay-snapshot {:as params :keys [snapshot-id from-step to-step scale]})(replay-snapshot connection
{:as params :keys [snapshot-id from-step to-step scale]})Replays the layer snapshot and returns the resulting bitmap.
Parameters map keys:
| Key | Description |
|---|---|
| :snapshot-id | The id of the layer snapshot. |
| :from-step | The first step to replay from (replay from the very start if not specified). (optional) |
| :to-step | The last step to replay to (replay till the end if not specified). (optional) |
| :scale | The scale to apply while replaying (defaults to 1). (optional) |
Return map keys:
| Key | Description |
|---|---|
| :data-url | A data: URL for resulting image. |
Replays the layer snapshot and returns the resulting bitmap. Parameters map keys: Key | Description -------------|------------ :snapshot-id | The id of the layer snapshot. :from-step | The first step to replay from (replay from the very start if not specified). (optional) :to-step | The last step to replay to (replay till the end if not specified). (optional) :scale | The scale to apply while replaying (defaults to 1). (optional) Return map keys: Key | Description ----------|------------ :data-url | A data: URL for resulting image.
(snapshot-command-log)(snapshot-command-log {:as params :keys [snapshot-id]})(snapshot-command-log connection {:as params :keys [snapshot-id]})Replays the layer snapshot and returns canvas log.
Parameters map keys:
| Key | Description |
|---|---|
| :snapshot-id | The id of the layer snapshot. |
Return map keys:
| Key | Description |
|---|---|
| :command-log | The array of canvas function calls. |
Replays the layer snapshot and returns canvas log. Parameters map keys: Key | Description -------------|------------ :snapshot-id | The id of the layer snapshot. Return map keys: Key | Description -------------|------------ :command-log | The array of canvas function calls.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |