# roofing Icon

> The roofing icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/roofing.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/roofing.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/roofing.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/roofing.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/roofing.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/roofing.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/roofing.kt`

```kotlin
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.path
import androidx.compose.ui.unit.dp

val MaterialSymbolsRoofing: ImageVector
    get() {
        if (_MaterialSymbolsRoofing != null) return _MaterialSymbolsRoofing!!
        
        _MaterialSymbolsRoofing = ImageVector.Builder(
            name = "roofing",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(360f, 800f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(240f)
                verticalLineToRelative(240f)
                horizontalLineTo(360f)
                close()
                moveToRelative(80f, -80f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(80f)
                close()
                moveTo(88f, 520f)
                lineToRelative(-48f, -64f)
                lineToRelative(440f, -336f)
                lineToRelative(160f, 122f)
                verticalLineToRelative(-82f)
                horizontalLineToRelative(120f)
                verticalLineToRelative(174f)
                lineToRelative(160f, 122f)
                lineToRelative(-48f, 64f)
                lineToRelative(-392f, -299f)
                lineTo(88f, 520f)
                close()
                moveToRelative(392f, 160f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsRoofing!!
    }

private var _MaterialSymbolsRoofing: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/roofing.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M360,800v-240h240v240H360Zm80,-80h80v-80h-80v80ZM88,520l-48,-64l440,-336l160,122v-82h120v174l160,122l-48,64l-392,-299L88,520Zm392,160Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-symbols/roofing.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M360-160v-240h240v240H360Zm80-80h80v-80h-80v80ZM88-440l-48-64 440-336 160 122v-82h120v174l160 122-48 64-392-299L88-440Zm392 160Z"/></svg>
```
