Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.layer-tree


compositing-reasonsclj

(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:

KeyDescription
:layer-idThe id of the layer for which we want to get the reasons it was composited.

Return map keys:

KeyDescription
:compositing-reasonsA 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.
sourceraw docstring

disableclj

(disable)
(disable {:as params :keys []})
(disable connection {:as params :keys []})

Disables compositing tree inspection.

Disables compositing tree inspection.
sourceraw docstring

enableclj

(enable)
(enable {:as params :keys []})
(enable connection {:as params :keys []})

Enables compositing tree inspection.

Enables compositing tree inspection.
sourceraw docstring

load-snapshotclj

(load-snapshot)
(load-snapshot {:as params :keys [tiles]})
(load-snapshot connection {:as params :keys [tiles]})

Returns the snapshot identifier.

Parameters map keys:

KeyDescription
:tilesAn array of tiles composing the snapshot.

Return map keys:

KeyDescription
:snapshot-idThe 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.
sourceraw docstring

make-snapshotclj

(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:

KeyDescription
:layer-idThe id of the layer.

Return map keys:

KeyDescription
:snapshot-idThe 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.
sourceraw docstring

profile-snapshotclj

(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:

KeyDescription
:snapshot-idThe id of the layer snapshot.
:min-repeat-countThe maximum number of times to replay the snapshot (1, if not specified). (optional)
:min-durationThe minimum duration (in seconds) to replay the snapshot. (optional)
:clip-rectThe clip rectangle to apply when replaying the snapshot. (optional)

Return map keys:

KeyDescription
:timingsThe 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.
sourceraw docstring

release-snapshotclj

(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:

KeyDescription
:snapshot-idThe 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.
sourceraw docstring

replay-snapshotclj

(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:

KeyDescription
:snapshot-idThe id of the layer snapshot.
:from-stepThe first step to replay from (replay from the very start if not specified). (optional)
:to-stepThe last step to replay to (replay till the end if not specified). (optional)
:scaleThe scale to apply while replaying (defaults to 1). (optional)

Return map keys:

KeyDescription
:data-urlA 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.
sourceraw docstring

snapshot-command-logclj

(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:

KeyDescription
:snapshot-idThe id of the layer snapshot.

Return map keys:

KeyDescription
:command-logThe 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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close