
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
1.2 KiB
1.2 KiB
title |
---|
round |
The round
macro rounds a corner. It is provided by the round plugin.
Note that this is only intended for 90 degree corners.
macro('round', {
from: points.bottomRight,
to: points.topLeft,
via: points.topRight,
radius: 20,
prefix: 'tr',
render: true
})
Property | Default | Type | Description |
---|---|---|---|
from |
Point | The startpoint towards the corner to round | |
to |
Point | The endpoint away from the corner to round | |
via |
Point | The corner to round | |
radius |
Maximum | Number | The radius in mm in not the maximum |
prefix |
String | A prefix to give to the points and paths created by this macro | |
render |
false |
Boolean | Whether to render the path created by this macro |
class |
String | Class(es) to assign to the path created by this macro |