collection of functions around redrawing boxes, managing the border etc. ...
collection of functions around redrawing boxes, managing the border etc. ...
(draw-clicked this canvas)
draws the clicked effect
draws the clicked effect
(draw-hover this canvas)
draws the hover effect
draws the hover effect
(box-border canvas color strength x y w h)
(box-border canvas color strength x y w h no-fill)
(box-coord canvas text {:keys [x y min-width font-size]})
Computes the full box coordinates. Returns the vector [x y border-width border-heigth]
Computes the full box coordinates. Returns the vector [x y border-width border-heigth]
(box-draw args)
(box-draw canvas text args)
canvas - clojure2d canvas text - text displayed inside the input x - x coordinate of top left corner y - y coordinate of top left corner color - vector consisting of [background-color font-color] min-width - the minimum width
canvas - clojure2d canvas text - text displayed inside the input x - x coordinate of top left corner y - y coordinate of top left corner color - vector consisting of [background-color font-color] min-width - the minimum width
(box-draw-border box canvas)
(box-draw-border box canvas color)
(box-draw-border box canvas color strength)
(box-draw-border box canvas color strength fill)
(box-draw-text canvas
text
{:keys [x y color min-width align font-style font-size]})
Draws the text of the box
Draws the text of the box
collection of functions to hook into events
collection of functions to hook into events
(key-pressed this char code)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close