# roof icon

Roof. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/roof

- Category: Buildings
- Use it for: roof, roofing, roof repair
- Tags: roof, roofing, roof-repair, roofer, chimney, rooftop, shingles, gable, attic
- Component name: RoofIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { RoofIcon } 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/roof.svg · PNG https://gentleface.com/png/line-round/16/roof.png · https://gentleface.com/png/line-round/32/roof.png · https://gentleface.com/png/line-round/48/roof.png
- line-soft: https://gentleface.com/svg/line-soft/16/roof.svg · PNG https://gentleface.com/png/line-soft/16/roof.png · https://gentleface.com/png/line-soft/32/roof.png · https://gentleface.com/png/line-soft/48/roof.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/roof.svg · PNG https://gentleface.com/png/line-sharp/16/roof.png · https://gentleface.com/png/line-sharp/32/roof.png · https://gentleface.com/png/line-sharp/48/roof.png
- solid-round: https://gentleface.com/svg/solid-round/16/roof.svg · PNG https://gentleface.com/png/solid-round/16/roof.png · https://gentleface.com/png/solid-round/32/roof.png · https://gentleface.com/png/solid-round/48/roof.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/roof.svg · PNG https://gentleface.com/png/solid-soft/16/roof.png · https://gentleface.com/png/solid-soft/32/roof.png · https://gentleface.com/png/solid-soft/48/roof.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/roof.svg · PNG https://gentleface.com/png/solid-sharp/16/roof.png · https://gentleface.com/png/solid-sharp/32/roof.png · https://gentleface.com/png/solid-sharp/48/roof.png

The SVG of every style: https://gentleface.com/icons/roof.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="M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z"/></svg>
```

### React

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

export function RoofIcon(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="M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "roof" (line-round), MIT. https://gentleface.com/icons/roof -->
<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="M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "roof" (line-round), MIT. https://gentleface.com/icons/roof -->
<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="M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "roof" (line-round), MIT. https://gentleface.com/icons/roof. Takes the text color. */
.icon-roof {
  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='M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z'/%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='M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z'/%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='M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct RoofIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12, y: 4))
        p.addLine(to: CGPoint(x: 12, y: 9.293))
        p.addLine(to: CGPoint(x: 13.854, y: 11.146))
        p.addCurve(to: CGPoint(x: 14.003, y: 11.5), control1: CGPoint(x: 13.953, y: 11.246), control2: CGPoint(x: 14.003, y: 11.364))
        p.addCurve(to: CGPoint(x: 13.854, y: 11.854), control1: CGPoint(x: 14.003, y: 11.636), control2: CGPoint(x: 13.953, y: 11.754))
        p.addCurve(to: CGPoint(x: 13.5, y: 12.003), control1: CGPoint(x: 13.754, y: 11.953), control2: CGPoint(x: 13.636, y: 12.003))
        p.addCurve(to: CGPoint(x: 13.146, y: 11.854), control1: CGPoint(x: 13.364, y: 12.003), control2: CGPoint(x: 13.246, y: 11.953))
        p.addLine(to: CGPoint(x: 7.5, y: 6.207))
        p.addLine(to: CGPoint(x: 1.854, y: 11.854))
        p.addCurve(to: CGPoint(x: 1.5, y: 12), control1: CGPoint(x: 1.756, y: 11.951), control2: CGPoint(x: 1.638, y: 12))
        p.addCurve(to: CGPoint(x: 1.146, y: 11.854), control1: CGPoint(x: 1.362, y: 12), control2: CGPoint(x: 1.244, y: 11.951))
        p.addCurve(to: CGPoint(x: 0.997, y: 11.5), control1: CGPoint(x: 1.047, y: 11.754), control2: CGPoint(x: 0.997, y: 11.636))
        p.addCurve(to: CGPoint(x: 1.146, y: 11.146), control1: CGPoint(x: 0.997, y: 11.364), control2: CGPoint(x: 1.047, y: 11.246))
        p.addLine(to: CGPoint(x: 7.146, y: 5.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 4.997), control1: CGPoint(x: 7.246, y: 5.047), control2: CGPoint(x: 7.364, y: 4.997))
        p.addCurve(to: CGPoint(x: 7.854, y: 5.146), control1: CGPoint(x: 7.636, y: 4.997), control2: CGPoint(x: 7.754, y: 5.047))
        p.addLine(to: CGPoint(x: 10, y: 7.293))
        p.addLine(to: CGPoint(x: 10, y: 4))
        p.addLine(to: CGPoint(x: 10.499, y: 4))
        p.addLine(to: CGPoint(x: 10.5, y: 4))
        p.addLine(to: CGPoint(x: 12, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 10.5))
        p.addLine(to: CGPoint(x: 9, y: 12.5))
        p.addCurve(to: CGPoint(x: 8.856, y: 12.856), control1: CGPoint(x: 9, y: 12.641), control2: CGPoint(x: 8.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 8.5, y: 13), control1: CGPoint(x: 8.759, y: 12.952), control2: CGPoint(x: 8.641, y: 13))
        p.addLine(to: CGPoint(x: 6.5, y: 13))
        p.addCurve(to: CGPoint(x: 6.144, y: 12.856), control1: CGPoint(x: 6.359, y: 13), control2: CGPoint(x: 6.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 6, y: 12.5), control1: CGPoint(x: 6.048, y: 12.759), control2: CGPoint(x: 6, y: 12.641))
        p.addLine(to: CGPoint(x: 6, y: 10.5))
        p.addCurve(to: CGPoint(x: 6.144, y: 10.144), control1: CGPoint(x: 6, y: 10.359), control2: CGPoint(x: 6.048, y: 10.241))
        p.addCurve(to: CGPoint(x: 6.5, y: 10), control1: CGPoint(x: 6.241, y: 10.048), control2: CGPoint(x: 6.359, y: 10))
        p.addLine(to: CGPoint(x: 8.5, y: 10))
        p.addCurve(to: CGPoint(x: 8.856, y: 10.144), control1: CGPoint(x: 8.641, y: 10), control2: CGPoint(x: 8.759, y: 10.048))
        p.addCurve(to: CGPoint(x: 9, y: 10.5), control1: CGPoint(x: 8.952, y: 10.241), control2: CGPoint(x: 9, y: 10.359))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 12))
        p.addLine(to: CGPoint(x: 8, y: 12))
        p.addLine(to: CGPoint(x: 8, y: 11))
        p.addLine(to: CGPoint(x: 7, y: 11))
        p.addLine(to: CGPoint(x: 7, y: 12))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "roof" (line-round), MIT. https://gentleface.com/icons/roof
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 RoofIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "roof", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_roof.xml · Gentleface "roof" (line-round), MIT. https://gentleface.com/icons/roof -->
<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="M12 4L12 9.293L13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854C13.754 11.953 13.636 12.003 13.5 12.003C13.364 12.003 13.246 11.953 13.146 11.854L7.5 6.207L1.854 11.854C1.756 11.951 1.638 12 1.5 12C1.362 12 1.244 11.951 1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146L7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L10 7.293L10 4L10.499 4L10.5 4L12 4ZM9 10.5L9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5L6 10.5C6 10.359 6.048 10.241 6.144 10.144C6.241 10.048 6.359 10 6.5 10L8.5 10C8.641 10 8.759 10.048 8.856 10.144C8.952 10.241 9 10.359 9 10.5ZM7 12L8 12L8 11L7 11L7 12Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12, 4)
      ..lineTo(12, 9.293)
      ..lineTo(13.854, 11.146)
      ..cubicTo(13.953, 11.246, 14.003, 11.364, 14.003, 11.5)
      ..cubicTo(14.003, 11.636, 13.953, 11.754, 13.854, 11.854)
      ..cubicTo(13.754, 11.953, 13.636, 12.003, 13.5, 12.003)
      ..cubicTo(13.364, 12.003, 13.246, 11.953, 13.146, 11.854)
      ..lineTo(7.5, 6.207)
      ..lineTo(1.854, 11.854)
      ..cubicTo(1.756, 11.951, 1.638, 12, 1.5, 12)
      ..cubicTo(1.362, 12, 1.244, 11.951, 1.146, 11.854)
      ..cubicTo(1.047, 11.754, 0.997, 11.636, 0.997, 11.5)
      ..cubicTo(0.997, 11.364, 1.047, 11.246, 1.146, 11.146)
      ..lineTo(7.146, 5.146)
      ..cubicTo(7.246, 5.047, 7.364, 4.997, 7.5, 4.997)
      ..cubicTo(7.636, 4.997, 7.754, 5.047, 7.854, 5.146)
      ..lineTo(10, 7.293)
      ..lineTo(10, 4)
      ..lineTo(10.499, 4)
      ..lineTo(10.5, 4)
      ..lineTo(12, 4)
      ..close()
      ..moveTo(9, 10.5)
      ..lineTo(9, 12.5)
      ..cubicTo(9, 12.641, 8.952, 12.759, 8.856, 12.856)
      ..cubicTo(8.759, 12.952, 8.641, 13, 8.5, 13)
      ..lineTo(6.5, 13)
      ..cubicTo(6.359, 13, 6.241, 12.952, 6.144, 12.856)
      ..cubicTo(6.048, 12.759, 6, 12.641, 6, 12.5)
      ..lineTo(6, 10.5)
      ..cubicTo(6, 10.359, 6.048, 10.241, 6.144, 10.144)
      ..cubicTo(6.241, 10.048, 6.359, 10, 6.5, 10)
      ..lineTo(8.5, 10)
      ..cubicTo(8.641, 10, 8.759, 10.048, 8.856, 10.144)
      ..cubicTo(8.952, 10.241, 9, 10.359, 9, 10.5)
      ..close()
      ..moveTo(7, 12)
      ..lineTo(8, 12)
      ..lineTo(8, 11)
      ..lineTo(7, 11)
      ..lineTo(7, 12)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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