(bounds->anchor-point anchor [_ [x y] [w h]])
(place-by-anchor element anchor position bounds)
(place-top-left element top-left bounds)
Adds a translation transform to an element so that its top-left corner is at the passed position.
Adds a translation transform to an element so that its top-left corner is at the passed position.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close