2021-10-17 17:34:55 +02:00
|
|
|
***
|
|
|
|
|
2021-08-25 16:09:31 +02:00
|
|
|
title: Drawing circles
|
|
|
|
for: developers
|
|
|
|
about: Shows how you can add circles to your pattern
|
2021-10-17 17:34:55 +02:00
|
|
|
----------------------------------------------------
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2021-10-17 17:34:55 +02:00
|
|
|
Real circles are rarely used in pattern design, and they are not part of the SVG path specification,
|
2021-08-25 16:09:31 +02:00
|
|
|
but rather a different SVG element.
|
|
|
|
|
2021-10-17 17:34:55 +02:00
|
|
|
Still, if you want a circle, you can draw one by setting a Point's `data-circle` attribute
|
2021-08-25 16:09:31 +02:00
|
|
|
to the radius of the circle you want to draw.
|
|
|
|
|
|
|
|
In addition, all attributes that have a `data-circle-` prefix will apply to the circle, rather than the point.
|
|
|
|
|
2021-10-17 17:34:55 +02:00
|
|
|
\<Example pattern="rendertest" caption="Circles" options={{ colors: false, text: false, macros: false, snippets: false, widthHd: false }} />
|