View Source Squircle (Squircle v0.1.1)

Squircle is a library for generating parametrizable squircle paths in SVG.

Summary

Functions

Link to this function

create(w, h, vw, vh, curvature \\ 0.8, rotate \\ 0)

View Source (since 0.1.0)
Link to this function

image(href, size, padding \\ 0, curvature \\ 0.8, opts \\ [id: nil])

View Source (since 0.1.0)
Link to this function

squircle_path(d, transform, id)

View Source (since 0.1.0)
Link to this function

squircle_path_d(w, h, arc)

View Source (since 0.1.0)
Link to this function

svg_group(svg_g, size, padding \\ 0, curvature \\ 0.8, opts \\ [id: nil])

View Source (since 0.1.0)
Link to this function

wrap(content, size, padding \\ 0, curvature \\ 0.8, opts \\ [id: nil])

View Source (since 0.1.0)