Liking cljdoc? Tell your friends :D
Clojure only.

scicloj.plotje.render.dash

A membrane drawable wrapper that applies a stroke dash pattern to the strokes of its children. Membrane has no built-in dash primitive, so this record carries a [dash gap ...] pixel pattern that the SVG and Java2D backends each read (see render.svg and render.bufimg).

Mirrors membrane.ui.WithStrokeWidth so the compositor can measure and walk it like any other drawable.

A membrane drawable wrapper that applies a stroke dash pattern to the
strokes of its children. Membrane has no built-in dash primitive, so
this record carries a `[dash gap ...]` pixel pattern that the SVG and
Java2D backends each read (see render.svg and render.bufimg).

Mirrors membrane.ui.WithStrokeWidth so the compositor can measure and
walk it like any other drawable.
raw docstring

with-stroke-dashclj

(with-stroke-dash dash & drawables)

Wrap drawables so their strokes render with the given [dash gap ...] pixel pattern. Place OUTSIDE with-stroke-width so the Java2D backend sets the dash first and the inner width merge preserves it.

Wrap drawables so their strokes render with the given `[dash gap ...]`
pixel pattern. Place OUTSIDE with-stroke-width so the Java2D backend
sets the dash first and the inner width merge preserves it.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close