# pattern Icon

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

- Library: [Material Icons](https://composables.com/icons/icon-libraries/material-icons.md)
- License: Apache 2.0 (full text in the [Material Icons library page](https://composables.com/icons/icon-libraries/material-icons.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/material-icons/pattern.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/pattern.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/pattern.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/pattern.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/pattern.md?v=twotone)
- Categories: [Device](https://composables.com/icons/categories/device.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/pattern.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.group
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsPattern: ImageVector
    get() {
        if (_MaterialIconsPattern != null) return _MaterialIconsPattern!!
        
        _MaterialIconsPattern = ImageVector.Builder(
            name = "pattern",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineToRelative(24f)
                    verticalLineToRelative(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                group {
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(4f, 6f)
                        curveToRelative(0f, -1.1f, 0.9f, -2f, 2f, -2f)
                        reflectiveCurveToRelative(2f, 0.9f, 2f, 2f)
                        reflectiveCurveTo(7.1f, 8f, 6f, 8f)
                        reflectiveCurveTo(4f, 7.1f, 4f, 6f)
                        close()
                        moveTo(6f, 14f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        reflectiveCurveToRelative(-0.9f, -2f, -2f, -2f)
                        reflectiveCurveToRelative(-2f, 0.9f, -2f, 2f)
                        reflectiveCurveTo(4.9f, 14f, 6f, 14f)
                        close()
                        moveTo(12f, 8f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        reflectiveCurveToRelative(-0.9f, -2f, -2f, -2f)
                        reflectiveCurveToRelative(-2f, 0.9f, -2f, 2f)
                        reflectiveCurveTo(10.9f, 8f, 12f, 8f)
                        close()
                        moveTo(18f, 10f)
                        curveToRelative(-1.1f, 0f, -2f, 0.9f, -2f, 2f)
                        reflectiveCurveToRelative(0.9f, 2f, 2f, 2f)
                        reflectiveCurveToRelative(2f, -0.9f, 2f, -2f)
                        reflectiveCurveTo(19.1f, 10f, 18f, 10f)
                        close()
                        moveTo(17.98f, 16f)
                        curveToRelative(-0.74f, 0f, -1.37f, 0.4f, -1.72f, 1f)
                        horizontalLineToRelative(-2.54f)
                        curveToRelative(-0.34f, -0.6f, -0.98f, -1f, -1.72f, -1f)
                        reflectiveCurveToRelative(-1.37f, 0.4f, -1.72f, 1f)
                        horizontalLineTo(8.41f)
                        lineToRelative(3.07f, -3.07f)
                        curveTo(11.65f, 13.97f, 11.82f, 14f, 12f, 14f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        curveToRelative(0f, -0.18f, -0.03f, -0.35f, -0.07f, -0.51f)
                        lineToRelative(3.56f, -3.56f)
                        curveTo(17.65f, 7.97f, 17.82f, 8f, 18f, 8f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        reflectiveCurveToRelative(-0.9f, -2f, -2f, -2f)
                        reflectiveCurveToRelative(-2f, 0.9f, -2f, 2f)
                        curveToRelative(0f, 0.18f, 0.03f, 0.35f, 0.07f, 0.51f)
                        lineToRelative(-3.56f, 3.56f)
                        curveTo(12.35f, 10.03f, 12.18f, 10f, 12f, 10f)
                        curveToRelative(-1.1f, 0f, -2f, 0.9f, -2f, 2f)
                        curveToRelative(0f, 0.18f, 0.03f, 0.35f, 0.07f, 0.51f)
                        lineToRelative(-3.56f, 3.56f)
                        curveTo(6.35f, 16.03f, 6.18f, 16f, 6f, 16f)
                        curveToRelative(-1.1f, 0f, -2f, 0.9f, -2f, 2f)
                        reflectiveCurveToRelative(0.9f, 2f, 2f, 2f)
                        curveToRelative(0.74f, 0f, 1.37f, -0.4f, 1.72f, -1f)
                        horizontalLineToRelative(2.57f)
                        curveToRelative(0.34f, 0.6f, 0.98f, 1f, 1.72f, 1f)
                        reflectiveCurveToRelative(1.37f, -0.4f, 1.72f, -1f)
                        horizontalLineToRelative(2.55f)
                        curveToRelative(0.34f, 0.6f, 0.98f, 1f, 1.72f, 1f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        curveTo(19.98f, 16.9f, 19.08f, 16f, 17.98f, 16f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsPattern!!
    }

private var _MaterialIconsPattern: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/pattern.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:pathData="M0,0h24v24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M4,6c0,-1.1 0.9,-2 2,-2s2,0.9 2,2S7.1,8 6,8S4,7.1 4,6ZM6,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S4.9,14 6,14ZM12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S10.9,8 12,8ZM18,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2s2,-0.9 2,-2S19.1,10 18,10ZM17.98,16c-0.74,0 -1.37,0.4 -1.72,1h-2.54c-0.34,-0.6 -0.98,-1 -1.72,-1s-1.37,0.4 -1.72,1H8.41l3.07,-3.07C11.65,13.97 11.82,14 12,14c1.1,0 2,-0.9 2,-2c0,-0.18 -0.03,-0.35 -0.07,-0.51l3.56,-3.56C17.65,7.97 17.82,8 18,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2c0,0.18 0.03,0.35 0.07,0.51l-3.56,3.56C12.35,10.03 12.18,10 12,10c-1.1,0 -2,0.9 -2,2c0,0.18 0.03,0.35 0.07,0.51l-3.56,3.56C6.35,16.03 6.18,16 6,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2c0.74,0 1.37,-0.4 1.72,-1h2.57c0.34,0.6 0.98,1 1.72,1s1.37,-0.4 1.72,-1h2.55c0.34,0.6 0.98,1 1.72,1c1.1,0 2,-0.9 2,-2C19.98,16.9 19.08,16 17.98,16Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M4,6c0-1.1,0.9-2,2-2s2,0.9,2,2S7.1,8,6,8S4,7.1,4,6z M6,14c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S4.9,14,6,14z M12,8 c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S10.9,8,12,8z M18,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S19.1,10,18,10z M17.98,16 c-0.74,0-1.37,0.4-1.72,1h-2.54c-0.34-0.6-0.98-1-1.72-1s-1.37,0.4-1.72,1H8.41l3.07-3.07C11.65,13.97,11.82,14,12,14 c1.1,0,2-0.9,2-2c0-0.18-0.03-0.35-0.07-0.51l3.56-3.56C17.65,7.97,17.82,8,18,8c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2 c0,0.18,0.03,0.35,0.07,0.51l-3.56,3.56C12.35,10.03,12.18,10,12,10c-1.1,0-2,0.9-2,2c0,0.18,0.03,0.35,0.07,0.51l-3.56,3.56 C6.35,16.03,6.18,16,6,16c-1.1,0-2,0.9-2,2s0.9,2,2,2c0.74,0,1.37-0.4,1.72-1h2.57c0.34,0.6,0.98,1,1.72,1s1.37-0.4,1.72-1h2.55 c0.34,0.6,0.98,1,1.72,1c1.1,0,2-0.9,2-2C19.98,16.9,19.08,16,17.98,16z"/></g></g></svg>
```
