# oil_barrel Icon

> The oil_barrel 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/oil_barrel.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/oil_barrel.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/oil_barrel.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/oil_barrel.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/oil_barrel.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/oil_barrel.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/oil_barrel.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 MaterialSymbolsOilBarrel: ImageVector
    get() {
        if (_MaterialSymbolsOilBarrel != null) return _MaterialSymbolsOilBarrel!!
        
        _MaterialSymbolsOilBarrel = ImageVector.Builder(
            name = "oil_barrel",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(160f, 840f)
                quadToRelative(-17f, 0f, -28.5f, -11.5f)
                reflectiveQuadTo(120f, 800f)
                quadToRelative(0f, -17f, 11.5f, -28.5f)
                reflectiveQuadTo(160f, 760f)
                horizontalLineToRelative(40f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(-40f)
                quadToRelative(-17f, 0f, -28.5f, -11.5f)
                reflectiveQuadTo(120f, 480f)
                quadToRelative(0f, -17f, 11.5f, -28.5f)
                reflectiveQuadTo(160f, 440f)
                horizontalLineToRelative(40f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(-40f)
                quadToRelative(-17f, 0f, -28.5f, -11.5f)
                reflectiveQuadTo(120f, 160f)
                quadToRelative(0f, -17f, 11.5f, -28.5f)
                reflectiveQuadTo(160f, 120f)
                horizontalLineToRelative(640f)
                quadToRelative(17f, 0f, 28.5f, 11.5f)
                reflectiveQuadTo(840f, 160f)
                quadToRelative(0f, 17f, -11.5f, 28.5f)
                reflectiveQuadTo(800f, 200f)
                horizontalLineToRelative(-40f)
                verticalLineToRelative(240f)
                horizontalLineToRelative(40f)
                quadToRelative(17f, 0f, 28.5f, 11.5f)
                reflectiveQuadTo(840f, 480f)
                quadToRelative(0f, 17f, -11.5f, 28.5f)
                reflectiveQuadTo(800f, 520f)
                horizontalLineToRelative(-40f)
                verticalLineToRelative(240f)
                horizontalLineToRelative(40f)
                quadToRelative(17f, 0f, 28.5f, 11.5f)
                reflectiveQuadTo(840f, 800f)
                quadToRelative(0f, 17f, -11.5f, 28.5f)
                reflectiveQuadTo(800f, 840f)
                horizontalLineTo(160f)
                close()
                moveToRelative(120f, -80f)
                horizontalLineToRelative(400f)
                verticalLineToRelative(-240f)
                quadToRelative(-17f, 0f, -28.5f, -11.5f)
                reflectiveQuadTo(640f, 480f)
                quadToRelative(0f, -17f, 11.5f, -28.5f)
                reflectiveQuadTo(680f, 440f)
                verticalLineToRelative(-240f)
                horizontalLineTo(280f)
                verticalLineToRelative(240f)
                quadToRelative(17f, 0f, 28.5f, 11.5f)
                reflectiveQuadTo(320f, 480f)
                quadToRelative(0f, 17f, -11.5f, 28.5f)
                reflectiveQuadTo(280f, 520f)
                verticalLineToRelative(240f)
                close()
                moveToRelative(200f, -120f)
                quadToRelative(50f, 0f, 85f, -34.5f)
                reflectiveQuadToRelative(35f, -83.5f)
                quadToRelative(0f, -39f, -22.5f, -67f)
                reflectiveQuadTo(480f, 340f)
                quadToRelative(-75f, 86f, -97.5f, 114.5f)
                reflectiveQuadTo(360f, 522f)
                quadToRelative(0f, 49f, 35f, 83.5f)
                reflectiveQuadToRelative(85f, 34.5f)
                close()
                moveTo(280f, 760f)
                verticalLineToRelative(-560f)
                verticalLineToRelative(560f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsOilBarrel!!
    }

private var _MaterialSymbolsOilBarrel: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/oil_barrel.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="M160,840q-17,0 -28.5,-11.5T120,800q0,-17 11.5,-28.5T160,760h40v-240h-40q-17,0 -28.5,-11.5T120,480q0,-17 11.5,-28.5T160,440h40v-240h-40q-17,0 -28.5,-11.5T120,160q0,-17 11.5,-28.5T160,120h640q17,0 28.5,11.5T840,160q0,17 -11.5,28.5T800,200h-40v240h40q17,0 28.5,11.5T840,480q0,17 -11.5,28.5T800,520h-40v240h40q17,0 28.5,11.5T840,800q0,17 -11.5,28.5T800,840H160Zm120,-80h400v-240q-17,0 -28.5,-11.5T640,480q0,-17 11.5,-28.5T680,440v-240H280v240q17,0 28.5,11.5T320,480q0,17 -11.5,28.5T280,520v240Zm200,-120q50,0 85,-34.5t35,-83.5q0,-39 -22.5,-67T480,340q-75,86 -97.5,114.5T360,522q0,49 35,83.5t85,34.5ZM280,760v-560v560Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M160-120q-17 0-28.5-11.5T120-160q0-17 11.5-28.5T160-200h40v-240h-40q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h40v-240h-40q-17 0-28.5-11.5T120-800q0-17 11.5-28.5T160-840h640q17 0 28.5 11.5T840-800q0 17-11.5 28.5T800-760h-40v240h40q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440h-40v240h40q17 0 28.5 11.5T840-160q0 17-11.5 28.5T800-120H160Zm120-80h400v-240q-17 0-28.5-11.5T640-480q0-17 11.5-28.5T680-520v-240H280v240q17 0 28.5 11.5T320-480q0 17-11.5 28.5T280-440v240Zm200-120q50 0 85-34.5t35-83.5q0-39-22.5-67T480-620q-75 86-97.5 114.5T360-438q0 49 35 83.5t85 34.5ZM280-200v-560 560Z"/></svg>
```
