(arc2d ellipse-bounds start extend arc-type)
(arc2d x y w h start extend arc-type)
Creates a 2d arc.
Creates a 2d arc.
(basic-stroke)
(basic-stroke width)
(basic-stroke width cap-style join-style)
(basic-stroke width cap-style join-style miter-limit)
(basic-stroke width cap-style join-style miter-limit dash dash-phase)
Creates basic strokes.
Creates basic strokes.
(buffered-image src)
(buffered-image width height type)
Creates a buffered image.
Creates a buffered image.
(centered-circle2d x y r)
Creates a 2d ellipse reperesenting a circle with the center x, y and radius r.
Creates a 2d ellipse reperesenting a circle with the center x, y and radius r.
(create-graphics-from-image img)
Creates a graphics context from the a buffered image.
Creates a graphics context from the a buffered image.
(cubic-curve2d x1 y1 ctrlx1 ctrly1 ctrlx2 ctrly2 x2 y2)
Creates a 2d cubic curve.
Creates a 2d cubic curve.
(draw-circle gfx x y diameter)
(draw-circle gfx x y diameter color)
Draws a circle.
Draws a circle.
(draw-ellipse gfx x y w h)
(draw-ellipse gfx x y w h color)
Draws an ellipse.
Draws an ellipse.
(draw-image gfx img x y)
Draws an image using the graphics context.
Draws an image using the graphics context.
(draw-line gfx p1 p2)
(draw-line gfx p1 p2 color)
(draw-line gfx x1 y1 x2 y2)
(draw-line gfx x1 y1 x2 y2 color)
Draws a line.
Draws a line.
(draw-string gfx s x y)
(draw-string gfx s x y color)
Draws a string.
Draws a string.
(fill-circle gfx x y diameter)
(fill-circle gfx x y diameter color)
Draws a filled circle.
Draws a filled circle.
(fill-colored-rect gfx x y width height color)
Draws a filled rectangle with the given color.
Draws a filled rectangle with the given color.
(fill-ellipse gfx x y w h)
(fill-ellipse gfx x y w h color)
Draws a filled ellipse.
Draws a filled ellipse.
(fill-rect gfx x y width height)
(fill-rect gfx x y width height color)
Draws a filled rectangle.
Draws a filled rectangle.
(get-rgb img [x y])
(get-rgb img x y)
Returns the rgb value of the pixel at the coordinates x,y in the image.
Returns the rgb value of the pixel at the coordinates x,y in the image.
(gradient-paint p1 color1 p2 color2)
(gradient-paint p1 color1 p2 color2 cyclic)
(gradient-paint x1 y1 color1 x2 y2 color2)
(gradient-paint x1 y1 color1 x2 y2 color2 cyclic)
Create a gradient paint.
Create a gradient paint.
(line2d [x1 y1] [x2 y2])
(line2d x1 y1 x2 y2)
Creates a 2d line.
Creates a 2d line.
(point-coordinates point)
Returns the x/y coordinates of the point.
Returns the x/y coordinates of the point.
(quad-curve2d x1 y1 ctrlx ctrly x2 y2)
Creates a 2d quadratic curve.
Creates a 2d quadratic curve.
(round-rectangle2d x y w h arc-w arc-h)
Creates a 2d rounded rectangle.
Creates a 2d rounded rectangle.
(set-color gfx color)
Sets the color of the graphics context gfx.
Sets the color of the graphics context gfx.
(set-font gfx font)
Sets the fon of the graphics context gfx.
Sets the fon of the graphics context gfx.
(set-rendering-hint gfx hint-key hint-value)
Sets a rendering hint on the graphics context.
Sets a rendering hint on the graphics context.
(set-rgb img [x y] v)
(set-rgb img x y v)
Sets the rgb value of the pixel at the coordinates x,y in the image.
Sets the rgb value of the pixel at the coordinates x,y in the image.
(texture-paint texture anchor)
Create a texture paint.
Create a texture paint.
(write-image img format file)
Writes an image in the given format to the file.
Writes an image in the given format to the file.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close