# candy Icon

> The candy 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/candy.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 TablerCandy: ImageVector
    get() {
        if (_TablerCandy != null) return _TablerCandy!!
        
        _TablerCandy = ImageVector.Builder(
            name = "candy",
            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.05f, 11.293f)
                lineToRelative(4.243f, -4.243f)
                arcToRelative(2f, 2f, 0f, false, true, 2.828f, 0f)
                lineToRelative(2.829f, 2.83f)
                arcToRelative(2f, 2f, 0f, false, true, 0f, 2.828f)
                lineToRelative(-4.243f, 4.243f)
                arcToRelative(2f, 2f, 0f, false, true, -2.828f, 0f)
                lineToRelative(-2.829f, -2.831f)
                arcToRelative(2f, 2f, 0f, false, true, 0f, -2.828f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(16.243f, 9.172f)
                lineToRelative(3.086f, -0.772f)
                arcToRelative(1.5f, 1.5f, 0f, false, false, 0.697f, -2.516f)
                lineToRelative(-2.216f, -2.217f)
                arcToRelative(1.5f, 1.5f, 0f, false, false, -2.44f, 0.47f)
                lineToRelative(-1.248f, 2.913f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9.172f, 16.243f)
                lineToRelative(-0.772f, 3.086f)
                arcToRelative(1.5f, 1.5f, 0f, false, true, -2.516f, 0.697f)
                lineToRelative(-2.217f, -2.216f)
                arcToRelative(1.5f, 1.5f, 0f, false, true, 0.47f, -2.44f)
                lineToRelative(2.913f, -1.248f)
            }
        }.build()
        
        return _TablerCandy!!
    }

private var _TablerCandy: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/candy.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.05,11.293l4.243,-4.243a2,2 0 0,1 2.828,0l2.829,2.83a2,2 0 0,1 0,2.828l-4.243,4.243a2,2 0 0,1 -2.828,0l-2.829,-2.831a2,2 0 0,1 0,-2.828" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M16.243,9.172l3.086,-0.772a1.5,1.5 0 0,0 0.697,-2.516l-2.216,-2.217a1.5,1.5 0 0,0 -2.44,0.47l-1.248,2.913" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9.172,16.243l-0.772,3.086a1.5,1.5 0 0,1 -2.516,0.697l-2.217,-2.216a1.5,1.5 0 0,1 0.47,-2.44l2.913,-1.248" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/candy.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.05 11.293l4.243 -4.243a2 2 0 0 1 2.828 0l2.829 2.83a2 2 0 0 1 0 2.828l-4.243 4.243a2 2 0 0 1 -2.828 0l-2.829 -2.831a2 2 0 0 1 0 -2.828" /><path d="M16.243 9.172l3.086 -.772a1.5 1.5 0 0 0 .697 -2.516l-2.216 -2.217a1.5 1.5 0 0 0 -2.44 .47l-1.248 2.913" /><path d="M9.172 16.243l-.772 3.086a1.5 1.5 0 0 1 -2.516 .697l-2.217 -2.216a1.5 1.5 0 0 1 .47 -2.44l2.913 -1.248" /></svg>
```
