# line-cap-round icon

Line cap round. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/line-cap-round

- Category: Design
- Use it for: round cap, rounded cap
- Tags: line cap, round cap, rounded cap, cap, stroke, stroke end, line end, linecap, stroke-linecap, round, rounded, figma, illustrator, design tool, vector
- Family: line-cap-butt, line-cap-square, line-color, line-join-bevel, line-join-miter, line-join-round, line-style, line-weight
- Component name: LineCapRoundIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { LineCapRoundIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## 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/line-cap-round.svg · PNG https://gentleface.com/png/line-round/16/line-cap-round.png · https://gentleface.com/png/line-round/32/line-cap-round.png · https://gentleface.com/png/line-round/48/line-cap-round.png
- line-soft: https://gentleface.com/svg/line-soft/16/line-cap-round.svg · PNG https://gentleface.com/png/line-soft/16/line-cap-round.png · https://gentleface.com/png/line-soft/32/line-cap-round.png · https://gentleface.com/png/line-soft/48/line-cap-round.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/line-cap-round.svg · PNG https://gentleface.com/png/line-sharp/16/line-cap-round.png · https://gentleface.com/png/line-sharp/32/line-cap-round.png · https://gentleface.com/png/line-sharp/48/line-cap-round.png
- solid-round: https://gentleface.com/svg/solid-round/16/line-cap-round.svg · PNG https://gentleface.com/png/solid-round/16/line-cap-round.png · https://gentleface.com/png/solid-round/32/line-cap-round.png · https://gentleface.com/png/solid-round/48/line-cap-round.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/line-cap-round.svg · PNG https://gentleface.com/png/solid-soft/16/line-cap-round.png · https://gentleface.com/png/solid-soft/32/line-cap-round.png · https://gentleface.com/png/solid-soft/48/line-cap-round.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/line-cap-round.svg · PNG https://gentleface.com/png/solid-sharp/16/line-cap-round.png · https://gentleface.com/png/solid-sharp/32/line-cap-round.png · https://gentleface.com/png/solid-sharp/48/line-cap-round.png

The SVG of every style: https://gentleface.com/icons/line-cap-round.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="M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z"/></svg>
```

### React

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

export function LineCapRoundIcon(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="M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round -->
<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="M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round -->
<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="M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round. 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/line-cap-round.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round. Takes the text color. */
.icon-line-cap-round {
  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='M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z'/%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='M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z'/%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='M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round
     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#line-cap-round"/></svg>
```

### SwiftUI

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

struct LineCapRoundIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4.212, y: 4.246))
        p.addCurve(to: CGPoint(x: 3.025, y: 5.025), control1: CGPoint(x: 3.762, y: 4.424), control2: CGPoint(x: 3.367, y: 4.683))
        p.addCurve(to: CGPoint(x: 2.246, y: 6.212), control1: CGPoint(x: 2.683, y: 5.367), control2: CGPoint(x: 2.424, y: 5.762))
        p.addCurve(to: CGPoint(x: 2, y: 7.5), control1: CGPoint(x: 2.082, y: 6.625), control2: CGPoint(x: 2, y: 7.055))
        p.addCurve(to: CGPoint(x: 2.246, y: 8.788), control1: CGPoint(x: 2, y: 7.945), control2: CGPoint(x: 2.082, y: 8.375))
        p.addCurve(to: CGPoint(x: 3.025, y: 9.975), control1: CGPoint(x: 2.424, y: 9.238), control2: CGPoint(x: 2.683, y: 9.633))
        p.addCurve(to: CGPoint(x: 4.212, y: 10.754), control1: CGPoint(x: 3.367, y: 10.317), control2: CGPoint(x: 3.762, y: 10.576))
        p.addCurve(to: CGPoint(x: 5.5, y: 11), control1: CGPoint(x: 4.625, y: 10.918), control2: CGPoint(x: 5.055, y: 11))
        p.addLine(to: CGPoint(x: 14.5, y: 11))
        p.addCurve(to: CGPoint(x: 14.856, y: 11.144), control1: CGPoint(x: 14.641, y: 11), control2: CGPoint(x: 14.759, y: 11.048))
        p.addCurve(to: CGPoint(x: 15, y: 11.5), control1: CGPoint(x: 14.952, y: 11.241), control2: CGPoint(x: 15, y: 11.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 11.856), control1: CGPoint(x: 15, y: 11.641), control2: CGPoint(x: 14.952, y: 11.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 12), control1: CGPoint(x: 14.759, y: 11.952), control2: CGPoint(x: 14.641, y: 12))
        p.addLine(to: CGPoint(x: 5.5, y: 12))
        p.addCurve(to: CGPoint(x: 3.844, y: 11.684), control1: CGPoint(x: 4.928, y: 12), control2: CGPoint(x: 4.376, y: 11.895))
        p.addCurve(to: CGPoint(x: 2.318, y: 10.682), control1: CGPoint(x: 3.266, y: 11.455), control2: CGPoint(x: 2.757, y: 11.121))
        p.addCurve(to: CGPoint(x: 1.316, y: 9.156), control1: CGPoint(x: 1.879, y: 10.243), control2: CGPoint(x: 1.545, y: 9.734))
        p.addCurve(to: CGPoint(x: 1, y: 7.5), control1: CGPoint(x: 1.105, y: 8.624), control2: CGPoint(x: 1, y: 8.072))
        p.addCurve(to: CGPoint(x: 1.316, y: 5.844), control1: CGPoint(x: 1, y: 6.928), control2: CGPoint(x: 1.105, y: 6.376))
        p.addCurve(to: CGPoint(x: 2.318, y: 4.318), control1: CGPoint(x: 1.545, y: 5.266), control2: CGPoint(x: 1.879, y: 4.757))
        p.addCurve(to: CGPoint(x: 3.844, y: 3.316), control1: CGPoint(x: 2.757, y: 3.879), control2: CGPoint(x: 3.266, y: 3.545))
        p.addCurve(to: CGPoint(x: 5.5, y: 3), control1: CGPoint(x: 4.376, y: 3.105), control2: CGPoint(x: 4.928, y: 3))
        p.addLine(to: CGPoint(x: 14.5, y: 3))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.144), control1: CGPoint(x: 14.641, y: 3), control2: CGPoint(x: 14.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 15, y: 3.5), control1: CGPoint(x: 14.952, y: 3.241), control2: CGPoint(x: 15, y: 3.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.856), control1: CGPoint(x: 15, y: 3.641), control2: CGPoint(x: 14.952, y: 3.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 4), control1: CGPoint(x: 14.759, y: 3.952), control2: CGPoint(x: 14.641, y: 4))
        p.addLine(to: CGPoint(x: 5.5, y: 4))
        p.addCurve(to: CGPoint(x: 4.212, y: 4.246), control1: CGPoint(x: 5.055, y: 4), control2: CGPoint(x: 4.625, y: 4.082))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.5, y: 7))
        p.addCurve(to: CGPoint(x: 14.856, y: 7.144), control1: CGPoint(x: 14.641, y: 7), control2: CGPoint(x: 14.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 15, y: 7.5), control1: CGPoint(x: 14.952, y: 7.241), control2: CGPoint(x: 15, y: 7.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 7.856), control1: CGPoint(x: 15, y: 7.641), control2: CGPoint(x: 14.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 8), control1: CGPoint(x: 14.759, y: 7.952), control2: CGPoint(x: 14.641, y: 8))
        p.addLine(to: CGPoint(x: 7, y: 8))
        p.addLine(to: CGPoint(x: 7, y: 9))
        p.addLine(to: CGPoint(x: 4, y: 9))
        p.addLine(to: CGPoint(x: 4, y: 6.5))
        p.addLine(to: CGPoint(x: 4, y: 6.499))
        p.addLine(to: CGPoint(x: 4, y: 6))
        p.addLine(to: CGPoint(x: 7, y: 6))
        p.addLine(to: CGPoint(x: 7, y: 7))
        p.addLine(to: CGPoint(x: 14.5, y: 7))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round
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 LineCapRoundIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "line-cap-round", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_line_cap_round.xml · Gentleface "line-cap-round" (line-round), MIT. https://gentleface.com/icons/line-cap-round -->
<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="M4.212 4.246C3.762 4.424 3.367 4.683 3.025 5.025C2.683 5.367 2.424 5.762 2.246 6.212C2.082 6.625 2 7.055 2 7.5C2 7.945 2.082 8.375 2.246 8.788C2.424 9.238 2.683 9.633 3.025 9.975C3.367 10.317 3.762 10.576 4.212 10.754C4.625 10.918 5.055 11 5.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L5.5 12C4.928 12 4.376 11.895 3.844 11.684C3.266 11.455 2.757 11.121 2.318 10.682C1.879 10.243 1.545 9.734 1.316 9.156C1.105 8.624 1 8.072 1 7.5C1 6.928 1.105 6.376 1.316 5.844C1.545 5.266 1.879 4.757 2.318 4.318C2.757 3.879 3.266 3.545 3.844 3.316C4.376 3.105 4.928 3 5.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L5.5 4C5.055 4 4.625 4.082 4.212 4.246ZM14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7 8L7 9L4 9L4 6.5L4 6.499L4 6L7 6L7 7L14.5 7Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4.212, 4.246)
      ..cubicTo(3.762, 4.424, 3.367, 4.683, 3.025, 5.025)
      ..cubicTo(2.683, 5.367, 2.424, 5.762, 2.246, 6.212)
      ..cubicTo(2.082, 6.625, 2, 7.055, 2, 7.5)
      ..cubicTo(2, 7.945, 2.082, 8.375, 2.246, 8.788)
      ..cubicTo(2.424, 9.238, 2.683, 9.633, 3.025, 9.975)
      ..cubicTo(3.367, 10.317, 3.762, 10.576, 4.212, 10.754)
      ..cubicTo(4.625, 10.918, 5.055, 11, 5.5, 11)
      ..lineTo(14.5, 11)
      ..cubicTo(14.641, 11, 14.759, 11.048, 14.856, 11.144)
      ..cubicTo(14.952, 11.241, 15, 11.359, 15, 11.5)
      ..cubicTo(15, 11.641, 14.952, 11.759, 14.856, 11.856)
      ..cubicTo(14.759, 11.952, 14.641, 12, 14.5, 12)
      ..lineTo(5.5, 12)
      ..cubicTo(4.928, 12, 4.376, 11.895, 3.844, 11.684)
      ..cubicTo(3.266, 11.455, 2.757, 11.121, 2.318, 10.682)
      ..cubicTo(1.879, 10.243, 1.545, 9.734, 1.316, 9.156)
      ..cubicTo(1.105, 8.624, 1, 8.072, 1, 7.5)
      ..cubicTo(1, 6.928, 1.105, 6.376, 1.316, 5.844)
      ..cubicTo(1.545, 5.266, 1.879, 4.757, 2.318, 4.318)
      ..cubicTo(2.757, 3.879, 3.266, 3.545, 3.844, 3.316)
      ..cubicTo(4.376, 3.105, 4.928, 3, 5.5, 3)
      ..lineTo(14.5, 3)
      ..cubicTo(14.641, 3, 14.759, 3.048, 14.856, 3.144)
      ..cubicTo(14.952, 3.241, 15, 3.359, 15, 3.5)
      ..cubicTo(15, 3.641, 14.952, 3.759, 14.856, 3.856)
      ..cubicTo(14.759, 3.952, 14.641, 4, 14.5, 4)
      ..lineTo(5.5, 4)
      ..cubicTo(5.055, 4, 4.625, 4.082, 4.212, 4.246)
      ..close()
      ..moveTo(14.5, 7)
      ..cubicTo(14.641, 7, 14.759, 7.048, 14.856, 7.144)
      ..cubicTo(14.952, 7.241, 15, 7.359, 15, 7.5)
      ..cubicTo(15, 7.641, 14.952, 7.759, 14.856, 7.856)
      ..cubicTo(14.759, 7.952, 14.641, 8, 14.5, 8)
      ..lineTo(7, 8)
      ..lineTo(7, 9)
      ..lineTo(4, 9)
      ..lineTo(4, 6.5)
      ..lineTo(4, 6.499)
      ..lineTo(4, 6)
      ..lineTo(7, 6)
      ..lineTo(7, 7)
      ..lineTo(14.5, 7)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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