(clear-rect x y width height)
Fills a rectangular shape with the current background color
Fills a rectangular shape with the current background color
(create-window x y width height title)
(create-window x y width height title color)
(create-window x y width height title color resizable?)
(create-window x y width height title color resizable? icon-path)
Creates and displays a window. Returns a map consisting of the window and the canvas
Creates and displays a window. Returns a map consisting of the window and the canvas
(ellipse x y width height color fill?)
(ellipse x y width height color fill? thickness)
(get-text-dimensions canvas text font-size)
Gets the width and the height of a given text
Gets the width and the height of a given text
(properties {:keys [window canvas]})
Gets the properties of the context, which is the map returned by 'create-window' function
Gets the properties of the context, which is the map returned by 'create-window' function
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close