# format_shapes Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/format_shapes.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 MaterialSymbolsFormatShapes: ImageVector
    get() {
        if (_MaterialSymbolsFormatShapes != null) return _MaterialSymbolsFormatShapes!!
        
        _MaterialSymbolsFormatShapes = ImageVector.Builder(
            name = "format_shapes",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(40f, 920f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-400f)
                horizontalLineTo(40f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(240f)
                verticalLineToRelative(80f)
                horizontalLineToRelative(400f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(240f)
                verticalLineToRelative(240f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(400f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(240f)
                horizontalLineTo(680f)
                verticalLineToRelative(-80f)
                horizontalLineTo(280f)
                verticalLineToRelative(80f)
                horizontalLineTo(40f)
                close()
                moveToRelative(240f, -160f)
                horizontalLineToRelative(400f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-400f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(-80f)
                horizontalLineTo(280f)
                verticalLineToRelative(80f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(400f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(80f)
                close()
                moveToRelative(32f, -120f)
                lineToRelative(136f, -360f)
                horizontalLineToRelative(64f)
                lineToRelative(136f, 360f)
                horizontalLineToRelative(-62f)
                lineToRelative(-32f, -92f)
                horizontalLineTo(408f)
                lineToRelative(-32f, 92f)
                horizontalLineToRelative(-64f)
                close()
                moveToRelative(114f, -144f)
                horizontalLineToRelative(108f)
                lineToRelative(-52f, -150f)
                horizontalLineToRelative(-4f)
                lineToRelative(-52f, 150f)
                close()
                moveTo(120f, 200f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(80f)
                close()
                moveToRelative(640f, 0f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(80f)
                close()
                moveToRelative(0f, 640f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(80f)
                close()
                moveToRelative(-640f, 0f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(80f)
                close()
                moveToRelative(80f, -640f)
                close()
                moveToRelative(560f, 0f)
                close()
                moveToRelative(0f, 560f)
                close()
                moveToRelative(-560f, 0f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsFormatShapes!!
    }

private var _MaterialSymbolsFormatShapes: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/format_shapes.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="M40,920v-240h80v-400H40v-240h240v80h400v-80h240v240h-80v400h80v240H680v-80H280v80H40Zm240,-160h400v-80h80v-400h-80v-80H280v80h-80v400h80v80Zm32,-120l136,-360h64l136,360h-62l-32,-92H408l-32,92h-64Zm114,-144h108l-52,-150h-4l-52,150ZM120,200h80v-80h-80v80Zm640,0h80v-80h-80v80Zm0,640h80v-80h-80v80Zm-640,0h80v-80h-80v80Zm80,-640Zm560,0Zm0,560Zm-560,0Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M40-40v-240h80v-400H40v-240h240v80h400v-80h240v240h-80v400h80v240H680v-80H280v80H40Zm240-160h400v-80h80v-400h-80v-80H280v80h-80v400h80v80Zm32-120 136-360h64l136 360h-62l-32-92H408l-32 92h-64Zm114-144h108l-52-150h-4l-52 150ZM120-760h80v-80h-80v80Zm640 0h80v-80h-80v80Zm0 640h80v-80h-80v80Zm-640 0h80v-80h-80v80Zm80-640Zm560 0Zm0 560Zm-560 0Z"/></svg>
```
