# pen-tool icon

Pen tool. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/pen-tool

- Category: Design
- Use it for: pen tool, vector, bezier, path, bezier tool
- Tags: pen, nib, vector, bezier, path, anchor, illustrator
- Family: pen-tool-vertical
- Component name: PenToolIcon
- Added: 2026-10-14

## Alternatives

- `bezier-curve`: edit the anchor points of an existing path

## Don't confuse with

- `pencil`: pencil means edit

## Also fits

- bezier curve: the pen tool that draws a new path
- feather: the vector pen tool in a design app
- polygon: draw free vector paths with the pen (pen-tool)

## Not for

- edit (use `pencil`): the vector pen tool in design apps, not edit
- stylus (use `stylus`): the vector pen tool (pen-tool)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/pen-tool.svg · PNG https://gentleface.com/png/line-round/16/pen-tool.png · https://gentleface.com/png/line-round/32/pen-tool.png · https://gentleface.com/png/line-round/48/pen-tool.png
- line-soft: https://gentleface.com/svg/line-soft/16/pen-tool.svg · PNG https://gentleface.com/png/line-soft/16/pen-tool.png · https://gentleface.com/png/line-soft/32/pen-tool.png · https://gentleface.com/png/line-soft/48/pen-tool.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/pen-tool.svg · PNG https://gentleface.com/png/line-sharp/16/pen-tool.png · https://gentleface.com/png/line-sharp/32/pen-tool.png · https://gentleface.com/png/line-sharp/48/pen-tool.png
- solid-round: https://gentleface.com/svg/solid-round/16/pen-tool.svg · PNG https://gentleface.com/png/solid-round/16/pen-tool.png · https://gentleface.com/png/solid-round/32/pen-tool.png · https://gentleface.com/png/solid-round/48/pen-tool.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/pen-tool.svg · PNG https://gentleface.com/png/solid-soft/16/pen-tool.png · https://gentleface.com/png/solid-soft/32/pen-tool.png · https://gentleface.com/png/solid-soft/48/pen-tool.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/pen-tool.svg · PNG https://gentleface.com/png/solid-sharp/16/pen-tool.png · https://gentleface.com/png/solid-sharp/32/pen-tool.png · https://gentleface.com/png/solid-sharp/48/pen-tool.png

The SVG of every style: https://gentleface.com/icons/pen-tool.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z"/></svg>
```

### React

```tsx
// Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool
import type { SVGProps } from 'react';

export function PenToolIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/pen-tool.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool. Takes the text color. */
.icon-pen-tool {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#pen-tool"/></svg>
```

### SwiftUI

```swift
// Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool
import SwiftUI

struct PenToolIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 13.5, y: 3.793))
        p.addCurve(to: CGPoint(x: 13.793, y: 4.5), control1: CGPoint(x: 13.695, y: 3.988), control2: CGPoint(x: 13.793, y: 4.224))
        p.addCurve(to: CGPoint(x: 13.5, y: 5.207), control1: CGPoint(x: 13.793, y: 4.776), control2: CGPoint(x: 13.695, y: 5.012))
        p.addLine(to: CGPoint(x: 12.207, y: 6.5))
        p.addCurve(to: CGPoint(x: 11.5, y: 6.793), control1: CGPoint(x: 12.012, y: 6.695), control2: CGPoint(x: 11.776, y: 6.793))
        p.addCurve(to: CGPoint(x: 10.793, y: 6.5), control1: CGPoint(x: 11.224, y: 6.793), control2: CGPoint(x: 10.988, y: 6.695))
        p.addLine(to: CGPoint(x: 8.5, y: 4.207))
        p.addCurve(to: CGPoint(x: 8.207, y: 3.5), control1: CGPoint(x: 8.305, y: 4.012), control2: CGPoint(x: 8.207, y: 3.776))
        p.addCurve(to: CGPoint(x: 8.5, y: 2.793), control1: CGPoint(x: 8.207, y: 3.224), control2: CGPoint(x: 8.305, y: 2.988))
        p.addLine(to: CGPoint(x: 9.793, y: 1.5))
        p.addCurve(to: CGPoint(x: 10.5, y: 1.207), control1: CGPoint(x: 9.988, y: 1.305), control2: CGPoint(x: 10.224, y: 1.207))
        p.addCurve(to: CGPoint(x: 11.207, y: 1.5), control1: CGPoint(x: 10.776, y: 1.207), control2: CGPoint(x: 11.012, y: 1.305))
        p.addLine(to: CGPoint(x: 13.5, y: 3.793))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.5, y: 5.793))
        p.addLine(to: CGPoint(x: 12.793, y: 4.5))
        p.addLine(to: CGPoint(x: 10.5, y: 2.207))
        p.addLine(to: CGPoint(x: 9.207, y: 3.5))
        p.addLine(to: CGPoint(x: 11.5, y: 5.793))
        p.closeSubpath()
        p.move(to: CGPoint(x: 1.222, y: 8.385))
        p.addCurve(to: CGPoint(x: 1.854, y: 7.439), control1: CGPoint(x: 1.37, y: 8.028), control2: CGPoint(x: 1.58, y: 7.713))
        p.addLine(to: CGPoint(x: 4.086, y: 5.207))
        p.addCurve(to: CGPoint(x: 4.706, y: 4.786), control1: CGPoint(x: 4.266, y: 5.027), control2: CGPoint(x: 4.472, y: 4.887))
        p.addCurve(to: CGPoint(x: 5.5, y: 4.621), control1: CGPoint(x: 4.959, y: 4.676), control2: CGPoint(x: 5.224, y: 4.621))
        p.addCurve(to: CGPoint(x: 6.294, y: 4.786), control1: CGPoint(x: 5.776, y: 4.621), control2: CGPoint(x: 6.041, y: 4.676))
        p.addCurve(to: CGPoint(x: 6.914, y: 5.207), control1: CGPoint(x: 6.528, y: 4.887), control2: CGPoint(x: 6.734, y: 5.027))
        p.addLine(to: CGPoint(x: 9.793, y: 8.086))
        p.addCurve(to: CGPoint(x: 10.214, y: 8.706), control1: CGPoint(x: 9.973, y: 8.266), control2: CGPoint(x: 10.113, y: 8.472))
        p.addCurve(to: CGPoint(x: 10.379, y: 9.5), control1: CGPoint(x: 10.324, y: 8.959), control2: CGPoint(x: 10.379, y: 9.224))
        p.addCurve(to: CGPoint(x: 10.214, y: 10.294), control1: CGPoint(x: 10.379, y: 9.776), control2: CGPoint(x: 10.324, y: 10.041))
        p.addCurve(to: CGPoint(x: 9.793, y: 10.914), control1: CGPoint(x: 10.113, y: 10.528), control2: CGPoint(x: 9.973, y: 10.734))
        p.addLine(to: CGPoint(x: 7.561, y: 13.146))
        p.addCurve(to: CGPoint(x: 6.615, y: 13.778), control1: CGPoint(x: 7.287, y: 13.42), control2: CGPoint(x: 6.972, y: 13.63))
        p.addCurve(to: CGPoint(x: 5.5, y: 14), control1: CGPoint(x: 6.258, y: 13.926), control2: CGPoint(x: 5.886, y: 14))
        p.addLine(to: CGPoint(x: 3, y: 14))
        p.addCurve(to: CGPoint(x: 2.264, y: 13.86), control1: CGPoint(x: 2.746, y: 14), control2: CGPoint(x: 2.5, y: 13.953))
        p.addCurve(to: CGPoint(x: 1.984, y: 13.723), control1: CGPoint(x: 2.166, y: 13.821), control2: CGPoint(x: 2.073, y: 13.775))
        p.addCurve(to: CGPoint(x: 1.586, y: 13.414), control1: CGPoint(x: 1.839, y: 13.638), control2: CGPoint(x: 1.707, y: 13.535))
        p.addCurve(to: CGPoint(x: 1.301, y: 13.056), control1: CGPoint(x: 1.476, y: 13.304), control2: CGPoint(x: 1.381, y: 13.185))
        p.addCurve(to: CGPoint(x: 1.277, y: 13.016), control1: CGPoint(x: 1.293, y: 13.042), control2: CGPoint(x: 1.285, y: 13.029))
        p.addCurve(to: CGPoint(x: 1.14, y: 12.736), control1: CGPoint(x: 1.225, y: 12.927), control2: CGPoint(x: 1.179, y: 12.834))
        p.addCurve(to: CGPoint(x: 1, y: 12), control1: CGPoint(x: 1.047, y: 12.5), control2: CGPoint(x: 1, y: 12.254))
        p.addLine(to: CGPoint(x: 1, y: 9.5))
        p.addCurve(to: CGPoint(x: 1.222, y: 8.385), control1: CGPoint(x: 1, y: 9.114), control2: CGPoint(x: 1.074, y: 8.742))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.233, y: 12.854))
        p.addCurve(to: CGPoint(x: 6.854, y: 12.439), control1: CGPoint(x: 6.467, y: 12.757), control2: CGPoint(x: 6.674, y: 12.619))
        p.addLine(to: CGPoint(x: 9.086, y: 10.207))
        p.addCurve(to: CGPoint(x: 9.379, y: 9.5), control1: CGPoint(x: 9.281, y: 10.012), control2: CGPoint(x: 9.379, y: 9.776))
        p.addCurve(to: CGPoint(x: 9.086, y: 8.793), control1: CGPoint(x: 9.379, y: 9.224), control2: CGPoint(x: 9.281, y: 8.988))
        p.addLine(to: CGPoint(x: 6.207, y: 5.914))
        p.addCurve(to: CGPoint(x: 5.5, y: 5.621), control1: CGPoint(x: 6.012, y: 5.719), control2: CGPoint(x: 5.776, y: 5.621))
        p.addCurve(to: CGPoint(x: 4.793, y: 5.914), control1: CGPoint(x: 5.224, y: 5.621), control2: CGPoint(x: 4.988, y: 5.719))
        p.addLine(to: CGPoint(x: 2.561, y: 8.146))
        p.addCurve(to: CGPoint(x: 2.146, y: 8.767), control1: CGPoint(x: 2.381, y: 8.326), control2: CGPoint(x: 2.243, y: 8.533))
        p.addCurve(to: CGPoint(x: 2, y: 9.5), control1: CGPoint(x: 2.049, y: 9.002), control2: CGPoint(x: 2, y: 9.246))
        p.addLine(to: CGPoint(x: 2, y: 12))
        p.addCurve(to: CGPoint(x: 2.032, y: 12.261), control1: CGPoint(x: 2, y: 12.091), control2: CGPoint(x: 2.011, y: 12.178))
        p.addLine(to: CGPoint(x: 4.146, y: 10.146))
        p.addCurve(to: CGPoint(x: 4.5, y: 10), control1: CGPoint(x: 4.244, y: 10.049), control2: CGPoint(x: 4.362, y: 10))
        p.addCurve(to: CGPoint(x: 4.854, y: 10.146), control1: CGPoint(x: 4.638, y: 10), control2: CGPoint(x: 4.756, y: 10.049))
        p.addCurve(to: CGPoint(x: 5.003, y: 10.5), control1: CGPoint(x: 4.953, y: 10.246), control2: CGPoint(x: 5.003, y: 10.364))
        p.addCurve(to: CGPoint(x: 4.854, y: 10.854), control1: CGPoint(x: 5.003, y: 10.636), control2: CGPoint(x: 4.953, y: 10.754))
        p.addLine(to: CGPoint(x: 2.739, y: 12.968))
        p.addCurve(to: CGPoint(x: 3, y: 13), control1: CGPoint(x: 2.822, y: 12.989), control2: CGPoint(x: 2.909, y: 13))
        p.addLine(to: CGPoint(x: 5.5, y: 13))
        p.addCurve(to: CGPoint(x: 6.233, y: 12.854), control1: CGPoint(x: 5.754, y: 13), control2: CGPoint(x: 5.998, y: 12.951))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.293, y: 8.293))
        p.addCurve(to: CGPoint(x: 6, y: 8), control1: CGPoint(x: 5.488, y: 8.098), control2: CGPoint(x: 5.724, y: 8))
        p.addCurve(to: CGPoint(x: 6.707, y: 8.293), control1: CGPoint(x: 6.276, y: 8), control2: CGPoint(x: 6.512, y: 8.098))
        p.addCurve(to: CGPoint(x: 7, y: 9), control1: CGPoint(x: 6.902, y: 8.488), control2: CGPoint(x: 7, y: 8.724))
        p.addCurve(to: CGPoint(x: 6.707, y: 9.707), control1: CGPoint(x: 7, y: 9.276), control2: CGPoint(x: 6.902, y: 9.512))
        p.addCurve(to: CGPoint(x: 6, y: 10), control1: CGPoint(x: 6.512, y: 9.902), control2: CGPoint(x: 6.276, y: 10))
        p.addCurve(to: CGPoint(x: 5.293, y: 9.707), control1: CGPoint(x: 5.724, y: 10), control2: CGPoint(x: 5.488, y: 9.902))
        p.addCurve(to: CGPoint(x: 5, y: 9), control1: CGPoint(x: 5.098, y: 9.512), control2: CGPoint(x: 5, y: 9.276))
        p.addCurve(to: CGPoint(x: 5.293, y: 8.293), control1: CGPoint(x: 5, y: 8.724), control2: CGPoint(x: 5.098, y: 8.488))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// PenToolIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val PenToolIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "pen-tool", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(PenToolIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_pen_tool.xml · Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool
import 'package:flutter/widgets.dart';

class PenToolIcon extends StatelessWidget {
  const PenToolIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _PenToolIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _PenToolIconPainter extends CustomPainter {
  _PenToolIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(13.5, 3.793)
      ..cubicTo(13.695, 3.988, 13.793, 4.224, 13.793, 4.5)
      ..cubicTo(13.793, 4.776, 13.695, 5.012, 13.5, 5.207)
      ..lineTo(12.207, 6.5)
      ..cubicTo(12.012, 6.695, 11.776, 6.793, 11.5, 6.793)
      ..cubicTo(11.224, 6.793, 10.988, 6.695, 10.793, 6.5)
      ..lineTo(8.5, 4.207)
      ..cubicTo(8.305, 4.012, 8.207, 3.776, 8.207, 3.5)
      ..cubicTo(8.207, 3.224, 8.305, 2.988, 8.5, 2.793)
      ..lineTo(9.793, 1.5)
      ..cubicTo(9.988, 1.305, 10.224, 1.207, 10.5, 1.207)
      ..cubicTo(10.776, 1.207, 11.012, 1.305, 11.207, 1.5)
      ..lineTo(13.5, 3.793)
      ..close()
      ..moveTo(11.5, 5.793)
      ..lineTo(12.793, 4.5)
      ..lineTo(10.5, 2.207)
      ..lineTo(9.207, 3.5)
      ..lineTo(11.5, 5.793)
      ..close()
      ..moveTo(1.222, 8.385)
      ..cubicTo(1.37, 8.028, 1.58, 7.713, 1.854, 7.439)
      ..lineTo(4.086, 5.207)
      ..cubicTo(4.266, 5.027, 4.472, 4.887, 4.706, 4.786)
      ..cubicTo(4.959, 4.676, 5.224, 4.621, 5.5, 4.621)
      ..cubicTo(5.776, 4.621, 6.041, 4.676, 6.294, 4.786)
      ..cubicTo(6.528, 4.887, 6.734, 5.027, 6.914, 5.207)
      ..lineTo(9.793, 8.086)
      ..cubicTo(9.973, 8.266, 10.113, 8.472, 10.214, 8.706)
      ..cubicTo(10.324, 8.959, 10.379, 9.224, 10.379, 9.5)
      ..cubicTo(10.379, 9.776, 10.324, 10.041, 10.214, 10.294)
      ..cubicTo(10.113, 10.528, 9.973, 10.734, 9.793, 10.914)
      ..lineTo(7.561, 13.146)
      ..cubicTo(7.287, 13.42, 6.972, 13.63, 6.615, 13.778)
      ..cubicTo(6.258, 13.926, 5.886, 14, 5.5, 14)
      ..lineTo(3, 14)
      ..cubicTo(2.746, 14, 2.5, 13.953, 2.264, 13.86)
      ..cubicTo(2.166, 13.821, 2.073, 13.775, 1.984, 13.723)
      ..cubicTo(1.839, 13.638, 1.707, 13.535, 1.586, 13.414)
      ..cubicTo(1.476, 13.304, 1.381, 13.185, 1.301, 13.056)
      ..cubicTo(1.293, 13.042, 1.285, 13.029, 1.277, 13.016)
      ..cubicTo(1.225, 12.927, 1.179, 12.834, 1.14, 12.736)
      ..cubicTo(1.047, 12.5, 1, 12.254, 1, 12)
      ..lineTo(1, 9.5)
      ..cubicTo(1, 9.114, 1.074, 8.742, 1.222, 8.385)
      ..close()
      ..moveTo(6.233, 12.854)
      ..cubicTo(6.467, 12.757, 6.674, 12.619, 6.854, 12.439)
      ..lineTo(9.086, 10.207)
      ..cubicTo(9.281, 10.012, 9.379, 9.776, 9.379, 9.5)
      ..cubicTo(9.379, 9.224, 9.281, 8.988, 9.086, 8.793)
      ..lineTo(6.207, 5.914)
      ..cubicTo(6.012, 5.719, 5.776, 5.621, 5.5, 5.621)
      ..cubicTo(5.224, 5.621, 4.988, 5.719, 4.793, 5.914)
      ..lineTo(2.561, 8.146)
      ..cubicTo(2.381, 8.326, 2.243, 8.533, 2.146, 8.767)
      ..cubicTo(2.049, 9.002, 2, 9.246, 2, 9.5)
      ..lineTo(2, 12)
      ..cubicTo(2, 12.091, 2.011, 12.178, 2.032, 12.261)
      ..lineTo(4.146, 10.146)
      ..cubicTo(4.244, 10.049, 4.362, 10, 4.5, 10)
      ..cubicTo(4.638, 10, 4.756, 10.049, 4.854, 10.146)
      ..cubicTo(4.953, 10.246, 5.003, 10.364, 5.003, 10.5)
      ..cubicTo(5.003, 10.636, 4.953, 10.754, 4.854, 10.854)
      ..lineTo(2.739, 12.968)
      ..cubicTo(2.822, 12.989, 2.909, 13, 3, 13)
      ..lineTo(5.5, 13)
      ..cubicTo(5.754, 13, 5.998, 12.951, 6.233, 12.854)
      ..close()
      ..moveTo(5.293, 8.293)
      ..cubicTo(5.488, 8.098, 5.724, 8, 6, 8)
      ..cubicTo(6.276, 8, 6.512, 8.098, 6.707, 8.293)
      ..cubicTo(6.902, 8.488, 7, 8.724, 7, 9)
      ..cubicTo(7, 9.276, 6.902, 9.512, 6.707, 9.707)
      ..cubicTo(6.512, 9.902, 6.276, 10, 6, 10)
      ..cubicTo(5.724, 10, 5.488, 9.902, 5.293, 9.707)
      ..cubicTo(5.098, 9.512, 5, 9.276, 5, 9)
      ..cubicTo(5, 8.724, 5.098, 8.488, 5.293, 8.293)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_PenToolIconPainter old) => old.color != color;
}
```
