# rotate_auto Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/rotate_auto.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 MaterialSymbolsRotateAuto: ImageVector
    get() {
        if (_MaterialSymbolsRotateAuto != null) return _MaterialSymbolsRotateAuto!!
        
        _MaterialSymbolsRotateAuto = ImageVector.Builder(
            name = "rotate_auto",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(312f, 640f)
                horizontalLineToRelative(64f)
                lineToRelative(32f, -92f)
                horizontalLineToRelative(146f)
                lineToRelative(32f, 92f)
                horizontalLineToRelative(62f)
                lineTo(512f, 280f)
                horizontalLineToRelative(-64f)
                lineTo(312f, 640f)
                close()
                moveToRelative(114f, -144f)
                lineToRelative(52f, -150f)
                horizontalLineToRelative(4f)
                lineToRelative(52f, 150f)
                horizontalLineTo(426f)
                close()
                moveToRelative(54f, 384f)
                quadToRelative(-83f, 0f, -156f, -31.5f)
                reflectiveQuadTo(197f, 763f)
                quadToRelative(-54f, -54f, -85.5f, -127f)
                reflectiveQuadTo(80f, 480f)
                horizontalLineToRelative(80f)
                quadToRelative(0f, 66f, 25f, 124.5f)
                reflectiveQuadToRelative(68.5f, 102f)
                quadToRelative(43.5f, 43.5f, 102f, 69f)
                reflectiveQuadTo(480f, 801f)
                quadToRelative(134f, 0f, 227f, -93f)
                reflectiveQuadToRelative(93f, -227f)
                quadToRelative(0f, -134f, -93f, -227f)
                reflectiveQuadToRelative(-227f, -93f)
                quadToRelative(-89f, 0f, -161.5f, 43.5f)
                reflectiveQuadTo(204f, 320f)
                horizontalLineToRelative(116f)
                verticalLineToRelative(80f)
                horizontalLineTo(80f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(80f)
                quadToRelative(55f, -73f, 138f, -116.5f)
                reflectiveQuadTo(480f, 80f)
                quadToRelative(83f, 0f, 156f, 31.5f)
                reflectiveQuadTo(763f, 197f)
                quadToRelative(54f, 54f, 85.5f, 127f)
                reflectiveQuadTo(880f, 480f)
                quadToRelative(0f, 83f, -31.5f, 156f)
                reflectiveQuadTo(763f, 763f)
                quadToRelative(-54f, 54f, -127f, 85.5f)
                reflectiveQuadTo(480f, 880f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsRotateAuto!!
    }

private var _MaterialSymbolsRotateAuto: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/rotate_auto.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="M312,640h64l32,-92h146l32,92h62L512,280h-64L312,640Zm114,-144l52,-150h4l52,150H426Zm54,384q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480h80q0,66 25,124.5t68.5,102q43.5,43.5 102,69T480,801q134,0 227,-93t93,-227q0,-134 -93,-227t-227,-93q-89,0 -161.5,43.5T204,320h116v80H80v-240h80v80q55,-73 138,-116.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M312-320h64l32-92h146l32 92h62L512-680h-64L312-320Zm114-144 52-150h4l52 150H426Zm54 384q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480h80q0 66 25 124.5t68.5 102q43.5 43.5 102 69T480-159q134 0 227-93t93-227q0-134-93-227t-227-93q-89 0-161.5 43.5T204-640h116v80H80v-240h80v80q55-73 138-116.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/></svg>
```
