Liking cljdoc? Tell your friends :D

mafs.core

Main components and helper functions for mafs.

Main components and helper functions for mafs.
raw docstring

Circlecljs

(Circle {:keys [radius] :as props})
  • :center
  • :radius
  • :svg-ellipse-props
  • :color
  • :weight
  • :fill-opacity
  • :stroke-opacity
  • :stroke-style
- `:center`
- `:radius`
- `:svg-ellipse-props`
- `:color`
- `:weight`
- `:fill-opacity`
- `:stroke-opacity`
- `:stroke-style`
sourceraw docstring

Ellipsecljs

  • :center
  • :radius
  • :svg-ellipse-props
  • :color
  • :weight
  • :fill-opacity
  • :stroke-opacity
  • :stroke-style
- `:center`
- `:radius`
- `:svg-ellipse-props`
- `:color`
- `:weight`
- `:fill-opacity`
- `:stroke-opacity`
- `:stroke-style`
sourceraw docstring

labelPicljs

source

Mafscljs

  • :width
  • :height
  • :pan
  • :viewbox
  • :preserve-aspect-ratio
  • :ssr
- `:width`
- `:height`
- `:pan`
- `:viewbox`
- `:preserve-aspect-ratio`
- `:ssr`
sourceraw docstring

MovablePointcljs

(MovablePoint {!state :atom :keys [point path constrain on-move] :as opts})

This version takes an atom and, optionally, a path into the atom.

  • :atom
  • :path optional
  • :constrain
  • :color

also discuss

  • :point
  • :on-move
This version takes an atom and, optionally, a path into the atom.
- `:atom`
- `:path` optional
- `:constrain`
- `:color`

also discuss

- `:point`
- `:on-move`
sourceraw docstring

Pointcljs

  • :x
  • :y
  • :color
  • :opacity
  • :svg-circle-props
- `:x`
- `:y`
- `:color`
- `:opacity`
- `:svg-circle-props`
sourceraw docstring

Polygoncljs

  • :points
  • :svg-polygon-props
  • :color
  • :weight
  • :fill-opacity
  • :stroke-opacity
  • :stroke-style
- `:points`
- `:svg-polygon-props`
- `:color`
- `:weight`
- `:fill-opacity`
- `:stroke-opacity`
- `:stroke-style`
sourceraw docstring

Textcljs

  • :x
  • :y
  • :attach
  • :attach-distance
  • :size
  • :color
  • :svg-text-props
- `:x`
- `:y`
- `:attach`
- `:attach-distance`
- `:size`
- `:color`
- `:svg-text-props`
sourceraw docstring

Themecljs

source

Transformcljs

  • :matrix
  • :translate
  • :scale
  • :rotate
  • :shear
- `:matrix`
- `:translate`
- `:scale`
- `:rotate`
- `:shear`
sourceraw docstring

useStopwatchcljs

source

useTransformContextcljs

source

Vectorcljs

  • :tail
  • :tip
  • :svg-line-props
  • :color
  • :opacity
  • :weight
  • :style
- `:tail`
- `:tip`
- `:svg-line-props`
- `:color`
- `:opacity`
- `:weight`
- `:style`
sourceraw docstring

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

× close