(align-bottom n diagram)
Moves the local origin vertically to the bottom edge of the envelope.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Moves the local origin vertically to the bottom edge of the envelope. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(align-left n diagram)
Moves the local origin horizontally to the left edge of the envelope.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Moves the local origin horizontally to the left edge of the envelope. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(align-right n diagram)
Moves the local origin horizontally to the right edge of the envelope.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Moves the local origin horizontally to the right edge of the envelope. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(align-top n diagram)
Moves the local origin vertically to the top edge of the envelope.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Moves the local origin vertically to the top edge of the envelope. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(align-x n diagram)
Moves the local origin horizontally by given distance.
Negative values move the local origin to the left edge of the boundary. Positive values move the local origin to the right edge of the boundary.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Moves the local origin horizontally by given distance. Negative values move the local origin to the left edge of the boundary. Positive values move the local origin to the right edge of the boundary. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(align-y n diagram)
Moves the local origin vertically by given distance.
Negative values move the local origin to the bottom edge of the boundary. Positive values move the local origin to the top edge of the boundary.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Moves the local origin vertically by given distance. Negative values move the local origin to the bottom edge of the boundary. Positive values move the local origin to the top edge of the boundary. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(arrow-at point vector)
(arrow-at point vector options)
An arrow starting at given point with the length and direction of given vector.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
An arrow starting at given point with the length and direction of given vector. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
(arrow-between point-a point-b)
(arrow-between point-a point-b options)
An arrow from point-a to point-b.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
An arrow from point-a to point-b. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
(arrow-connect n1 n2 diagram)
(arrow-connect n1 n2 diagram options)
An arrow connecting origins of diagrams named n1 and n2 in given diagram.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
An arrow connecting origins of diagrams named n1 and n2 in given diagram. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
(arrow-connect-outside n1 n2 diagram)
(arrow-connect-outside n1 n2 diagram options)
An arrow connecting boundaries of diagrams named n1 and n2 in given diagram.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
An arrow connecting boundaries of diagrams named n1 and n2 in given diagram. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
(arrow-connect-perim n1 n2 a1 a2 diagram)
(arrow-connect-perim n1 n2 a1 a2 diagram options)
An arrow connecting perimeter of diagrams named n1 and n2 at angles a1 and a2 (in degrees) in given diagram.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
An arrow connecting perimeter of diagrams named n1 and n2 at angles a1 and a2 (in degrees) in given diagram. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Arrow.html
(background r g b diagram)
Sets background color of a diagram.
Superimposes the diagram on top of a bounding rectangle of the given color.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD.html
Sets background color of a diagram. Superimposes the diagram on top of a bounding rectangle of the given color. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD.html
(background-frame n r g b diagram)
Similar to background but makes the background rectangle larger than the diagram by given size.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD.html
Similar to background but makes the background rectangle larger than the diagram by given size. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD.html
(beside x y diagram-a diagram-b)
Places two diagrams beside each other along given x-y vector.
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-Combinators.html#v:beside
Places two diagrams beside each other along given x-y vector. See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-Combinators.html#v:beside
(bspline points)
A uniform cubic B-spline with given control points.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-CubicSpline.html
A uniform cubic B-spline with given control points. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-CubicSpline.html
(bspline' & points)
Variadic version of bspline.
Variadic version of bspline.
(cat x y diagrams)
Positions diagrams so that their local origins lie along given x-y vector.
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
Positions diagrams so that their local origins lie along given x-y vector. See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
(center-x diagram)
Centers the local origin along the x-axis.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Centers the local origin along the x-axis. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(center-xy diagram)
Centers the local origin along both x-axis and y-axis.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Centers the local origin along both x-axis and y-axis. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(center-y diagram)
Centers the local origin along the y-axis.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
Centers the local origin along the y-axis. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Align.html
(circle radius)
A circle with the given radius.
A circle with the given radius.
(construct-arrow-options &
{:keys [head-type tail-type head-gap tail-gap
head-color tail-color shaft-points]
:or {head-type "dart"
tail-type "noTail"
head-gap 0
tail-gap 0
head-color {:red 0 :green 0 :blue 0 :alpha 255}
tail-color {:red 0 :green 0 :blue 0 :alpha 255}
shaft-points []}})
Constructs arrow options for styling an arrow diagram.
head-type: A shape to place at the head of the arrow. Must be one of [tri, dart, halfDart, spike, thorn, lineHead, noHead]
tail-type: A shape to place at the tail of the arrow. Must be one of [tri, dart, halfDart, spike, thorn, lineTail, noTail, quill, block]
head-gap: Distance to leave between the head and the target point. tail-gap: Distance to leave between the starting point and the tail. head-color: Color of head as a map with keys :red, :green, :blue and :alpha tail-color: Color of head as a map with keys :red, :green, :blue and :alpha shapt-points: Optional list of points to use to draw the shaft -- a cubic spline of the points will be used instead of the default straight line.
Constructs arrow options for styling an arrow diagram. head-type: A shape to place at the head of the arrow. Must be one of [tri, dart, halfDart, spike, thorn, lineHead, noHead] tail-type: A shape to place at the tail of the arrow. Must be one of [tri, dart, halfDart, spike, thorn, lineTail, noTail, quill, block] head-gap: Distance to leave between the head and the target point. tail-gap: Distance to leave between the starting point and the tail. head-color: Color of head as a map with keys :red, :green, :blue and :alpha tail-color: Color of head as a map with keys :red, :green, :blue and :alpha shapt-points: Optional list of points to use to draw the shaft -- a cubic spline of the points will be used instead of the default straight line. See https://diagrams.github.io/doc/arrow.html
(cubic-spline closed? points)
A cubic spline from a list of points.
The first argument specifies whether the path should be closed.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-CubicSpline.html
A cubic spline from a list of points. The first argument specifies whether the path should be closed. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-CubicSpline.html
(cubic-spline' closed? & points)
Variadic version of cubic-spline.
Variadic version of cubic-spline.
(dashing-g ns n diagram)
Sets global line-dashing style of a diagram.
NS is list of alternating lengths of on and off portions of the stroke. N is offset into the dash pattern at which the stroke should start.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
Sets global line-dashing style of a diagram. NS is list of alternating lengths of on and off portions of the stroke. N is offset into the dash pattern at which the stroke should start. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
(dashing-l ns n diagram)
Sets local line-dashing style of a diagram.
NS is list of alternating lengths of on and off portions of the stroke. N is offset into the dash pattern at which the stroke should start.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
Sets local line-dashing style of a diagram. NS is list of alternating lengths of on and off portions of the stroke. N is offset into the dash pattern at which the stroke should start. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
(dashing-n ns n diagram)
Sets normalized line-dashing style of a diagram.
NS is list of alternating lengths of on and off portions of the stroke. N is offset into the dash pattern at which the stroke should start.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
Sets normalized line-dashing style of a diagram. NS is list of alternating lengths of on and off portions of the stroke. N is offset into the dash pattern at which the stroke should start. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
(ellipse eccentricity)
An ellipse with given eccentricity.
The eccentricity must be within the interval [0,1).
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Ellipse.html
An ellipse with given eccentricity. The eccentricity must be within the interval [0,1). See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Ellipse.html
(ellipse-xy radius-x radius-y)
An axis-aligned ellipse, centered at the origin, with radius x along the x-axis and radius y along the y-axis.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Ellipse.html
An axis-aligned ellipse, centered at the origin, with radius x along the x-axis and radius y along the y-axis. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-TwoD-Ellipse.html
(fill-color r g b a diagram)
Sets the fill-color of a diagram to given red, green, blue, alpha values.
Sets the fill-color of a diagram to given red, green, blue, alpha values.
(font-size n diagram)
Sets the font-size of text in a diagram.
Sets the font-size of text in a diagram.
(hcat diagrams)
Horizontally concatenates given diagrams.
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
Horizontally concatenates given diagrams. See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
(hrule n)
A horizontal line of given length.
A horizontal line of given length.
(hsep pad diagrams)
Horizontally separates given diagrams with given pad (separation).
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
Horizontally separates given diagrams with given pad (separation). See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
(hsep' pad & diagrams)
Horizontally separates given diagrams with given pad (separation).
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
Horizontally separates given diagrams with given pad (separation). See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
(image file-path width height)
An image from given file-path with given width and height.
An image from given file-path with given width and height.
(line points)
A line along a list of points.
A line along a list of points.
(line' & points)
A line along a list of points.
A line along a list of points.
(line-color r g b a diagram)
Sets line color of a diagram.
Sets line color of a diagram.
(line-width-g w diagram)
Sets global line-width of a diagram.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
Sets global line-width of a diagram. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
(line-width-l w diagram)
Sets local line-width of a diagram.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
Sets local line-width of a diagram. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
(line-width-n w diagram)
Sets normalized line-width of a diagram.
See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
Sets normalized line-width of a diagram. See https://hackage.haskell.org/package/diagrams-lib/docs/Diagrams-Attributes.html
(pad pad-x pad-y diagram)
A diagram padded by give x and y factors.
A diagram padded by give x and y factors.
(position diagrams points)
Positions given diagrams at given points.
Positions given diagrams at given points.
(rectangle width height)
A rectangle of given width and height.
A rectangle of given width and height.
(rotate angle diagram)
A diagram rotated anticlockwise by the given angle (in degrees).
A diagram rotated anticlockwise by the given angle (in degrees).
(scale x y diagram)
A diagram scaled by the given x and y factors.
A diagram scaled by the given x and y factors.
(show-envelope diagram)
Shows envelope of diagram with a red cubic spline.
Useful for debugging purposes.
Shows envelope of diagram with a red cubic spline. Useful for debugging purposes.
(show-origin diagram)
Shows origin of diagram as a red dot.
Useful for debugging purposes.
Shows origin of diagram as a red dot. Useful for debugging purposes.
(superimpose diagrams)
Superimposes given diagrams on top of each other.
Superimposes given diagrams on top of each other.
(superimpose' & diagrams)
Variadic version of superimpose.
Variadic version of superimpose.
(translate x y diagram)
A diagram translated by the given x and y coordinates.
A diagram translated by the given x and y coordinates.
(vcat diagrams)
Vertically concatenates given diagrams.
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
Vertically concatenates given diagrams. See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
(vrule n)
A vertical line of given length.
A vertical line of given length.
(vsep pad diagrams)
Vertically separates given diagrams with given pad (separation).
See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
Vertically separates given diagrams with given pad (separation). See https://diagrams.github.io/haddock/diagrams-lib/Diagrams-TwoD-Combinators.html
(vsep' pad & diagrams)
Variadic version of vsep.
Variadic version of vsep.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close