# barrel Icon

> The barrel icon from Tabler as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Tabler](https://composables.com/icons/icon-libraries/tabler.md)
- License: MIT (full text in the [Tabler library page](https://composables.com/icons/icon-libraries/tabler.md))

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/barrel.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val TablerBarrel: ImageVector
    get() {
        if (_TablerBarrel != null) return _TablerBarrel!!
        
        _TablerBarrel = ImageVector.Builder(
            name = "barrel",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(7.278f, 4f)
                horizontalLineToRelative(9.444f)
                arcToRelative(2f, 2f, 0f, false, true, 1.841f, 1.22f)
                curveToRelative(0.958f, 2.26f, 1.437f, 4.52f, 1.437f, 6.78f)
                curveToRelative(0f, 2.26f, -0.479f, 4.52f, -1.437f, 6.78f)
                arcToRelative(2f, 2f, 0f, false, true, -1.841f, 1.22f)
                horizontalLineToRelative(-9.444f)
                arcToRelative(2f, 2f, 0f, false, true, -1.841f, -1.22f)
                curveToRelative(-0.958f, -2.26f, -1.437f, -4.52f, -1.437f, -6.78f)
                curveToRelative(0f, -2.26f, 0.479f, -4.52f, 1.437f, -6.78f)
                arcToRelative(2f, 2f, 0f, false, true, 1.841f, -1.22f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(14f, 4f)
                curveToRelative(0.667f, 2.667f, 1f, 5.333f, 1f, 8f)
                reflectiveCurveToRelative(-0.333f, 5.333f, -1f, 8f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(10f, 4f)
                curveToRelative(-0.667f, 2.667f, -1f, 5.333f, -1f, 8f)
                reflectiveCurveToRelative(0.333f, 5.333f, 1f, 8f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(4.5f, 16f)
                horizontalLineToRelative(15f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(19.5f, 8f)
                horizontalLineToRelative(-15f)
            }
        }.build()
        
        return _TablerBarrel!!
    }

private var _TablerBarrel: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/barrel.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M7.278,4h9.444a2,2 0 0,1 1.841,1.22c0.958,2.26 1.437,4.52 1.437,6.78c0,2.26 -0.479,4.52 -1.437,6.78a2,2 0 0,1 -1.841,1.22h-9.444a2,2 0 0,1 -1.841,-1.22c-0.958,-2.26 -1.437,-4.52 -1.437,-6.78c0,-2.26 0.479,-4.52 1.437,-6.78a2,2 0 0,1 1.841,-1.22" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M14,4c0.667,2.667 1,5.333 1,8s-0.333,5.333 -1,8" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M10,4c-0.667,2.667 -1,5.333 -1,8s0.333,5.333 1,8" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M4.5,16h15" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M19.5,8h-15" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/barrel.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="M7.278 4h9.444a2 2 0 0 1 1.841 1.22c.958 2.26 1.437 4.52 1.437 6.78c0 2.26 -.479 4.52 -1.437 6.78a2 2 0 0 1 -1.841 1.22h-9.444a2 2 0 0 1 -1.841 -1.22c-.958 -2.26 -1.437 -4.52 -1.437 -6.78c0 -2.26 .479 -4.52 1.437 -6.78a2 2 0 0 1 1.841 -1.22" /><path d="M14 4c.667 2.667 1 5.333 1 8s-.333 5.333 -1 8" /><path d="M10 4c-.667 2.667 -1 5.333 -1 8s.333 5.333 1 8" /><path d="M4.5 16h15" /><path d="M19.5 8h-15" /></svg>
```
