Main components and helper functions for mafs.
Main components and helper functions for mafs.
(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`
: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`
:width:height:pan:viewbox:preserve-aspect-ratio:ssr- `:width` - `:height` - `:pan` - `:viewbox` - `:preserve-aspect-ratio` - `:ssr`
(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:coloralso discuss
:point:on-moveThis version takes an atom and, optionally, a path into the atom. - `:atom` - `:path` optional - `:constrain` - `:color` also discuss - `:point` - `:on-move`
:x:y:color:opacity:svg-circle-props- `:x` - `:y` - `:color` - `:opacity` - `:svg-circle-props`
:points:svg-polygon-props:color:weight:fill-opacity:stroke-opacity:stroke-style- `:points` - `:svg-polygon-props` - `:color` - `:weight` - `:fill-opacity` - `:stroke-opacity` - `:stroke-style`
:x:y:attach:attach-distance:size:color:svg-text-props- `:x` - `:y` - `:attach` - `:attach-distance` - `:size` - `:color` - `:svg-text-props`
:matrix:translate:scale:rotate:shear- `:matrix` - `:translate` - `:scale` - `:rotate` - `:shear`
:tail:tip:svg-line-props:color:opacity:weight:style- `:tail` - `:tip` - `:svg-line-props` - `:color` - `:opacity` - `:weight` - `:style`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |