Liking cljdoc? Tell your friends :D

infinitelives.pixi.resources


!texturescljs

source

add-prog-barcljs

(add-prog-bar stage options)
source

fadeincljs

(fadein spr & {:keys [duration start end] :or {duration 1 start 0 end 1}})
source

fadeoutcljs

(fadeout spr & {:keys [duration start end] :or {duration 1 start nil end 0}})
source

get-texturecljs

(get-texture key scale)
source

load-resourcescljs

(load-resources
  canvas
  layer
  urls
  &
  {:keys [fade-in fade-out] :or {fade-in 0.5 fade-out 0.5} :as options})
source

load-urlscljs

(load-urls urls progress-bar & options)

loads each url in the passed in list as an image. Updates the progress as it goes with a percentage and a thumbnail. Once complete, displays all the images fullsize.

loads each url in the passed in list as an image. Updates the progress
as it goes with
  a percentage and a thumbnail. Once complete, displays all the images
fullsize.
sourceraw docstring

progress-texturecljs

(progress-texture fraction
                  {:keys [empty-colour full-colour border-colour border-width
                          draw-border width height highlight highlight-offset
                          highlight-width lowlight lowlight-offset
                          lowlight-width]
                   :or {full-colour 8421504
                        lowlight-offset 0
                        draw-border false
                        highlight-offset 0
                        height 40
                        width 600
                        lowlight-width 1
                        border-colour 16777215
                        border-width 2
                        empty-colour 0
                        highlight-width 1}
                   :as options})

Draws an empty box that can serve as a default progress bar for preloading images

Draws an empty box that can serve as a default progress bar for preloading images
sourceraw docstring

registercljs

(register url obj)
source

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

× close