Skip to content

Corner ​

Path corner rounding.

Supports rounded corners between curves and lines, as well as between line segments and curves.

Install Plugin ​

You need to install the corner plugin to use it. Click here to visit the Github repository.

sh
npm install @leafer-in/corner
sh
pnpm add @leafer-in/corner
sh
yarn add @leafer-in/corner
sh
bun add @leafer-in/corner

Or include via script tag and access plugin features using the global variable LeaferIN.corner.

html
<script src="https://unpkg.com/@leafer-in/corner@2.3.0/dist/corner.min.js"></script>
html
<script src="https://unpkg.com/@leafer-in/corner@2.3.0/dist/corner.js"></script>

Next ​

Ellipse ​

Path ​

cornerRadius Property ​

Released under the MIT License.