Liking cljdoc? Tell your friends :D

capra.core


*graphics*clj

source

close-windowclj

(close-window window)
source

create-windowclj

(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
sourceraw docstring

draw->cljmacro

(draw-> canvas & body)
source

ellipseclj

(ellipse x y width height color fill?)
(ellipse x y width height color fill? thickness)
source

get-text-dimensionsclj

(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
sourceraw docstring

handle-eventcljmultimethod

source

lineclj

(line x0 y0 x1 y1 color)
(line x0 y0 x1 y1 color thickness)
source

rectclj

(rect x y width height color fill?)
(rect x y width height color fill? thickness)
source

textclj

(text x y content color font-size)
(text x y content color font-size style)
source

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

× close