Liking cljdoc? Tell your friends :D

capra.core


*graphics*clj

source

*strategy*clj

source

attach-buffered-strategyclj

(attach-buffered-strategy window 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 name
               x
               y
               width
               height
               title
               {:keys [color resizable? icon-path on-close hide-title-bar?]
                :or {color Color/white
                     resizable? false
                     icon-path nil
                     on-close exit
                     hide-title-bar? false}})

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-> window & body)
source

ellipseclj

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

exitclj

source

get-text-dimensionsclj

(get-text-dimensions window 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

hideclj

source

lineclj

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

propertiesclj

(properties {:keys [frame 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-> window & body)
source

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

× close