Liking cljdoc? Tell your friends :D

capra.core


*graphics*clj

source

*strategy*clj

source

attach-buffered-strategyclj

(attach-buffered-strategy canvas buffer-count)
source

clear-rectclj

(clear-rect x y width height)

Fills a rectangular shape with the current background color

Fills a rectangular shape with the current background color
sourceraw docstring

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

propertiesclj

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

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

use-buffer->cljmacro

(use-buffer-> canvas & body)
source

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

× close