# switch_camera Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/switch_camera.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 MaterialSymbolsSwitchCamera: ImageVector
    get() {
        if (_MaterialSymbolsSwitchCamera != null) return _MaterialSymbolsSwitchCamera!!
        
        _MaterialSymbolsSwitchCamera = ImageVector.Builder(
            name = "switch_camera",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(360f, 680f)
                lineToRelative(56f, -56f)
                lineToRelative(-62f, -62f)
                horizontalLineToRelative(252f)
                lineToRelative(-62f, 62f)
                lineToRelative(56f, 56f)
                lineToRelative(160f, -160f)
                lineToRelative(-160f, -160f)
                lineToRelative(-56f, 56f)
                lineToRelative(64f, 66f)
                horizontalLineTo(352f)
                lineToRelative(64f, -66f)
                lineToRelative(-56f, -56f)
                lineToRelative(-160f, 160f)
                lineToRelative(160f, 160f)
                close()
                moveTo(160f, 840f)
                quadToRelative(-33f, 0f, -56.5f, -23.5f)
                reflectiveQuadTo(80f, 760f)
                verticalLineToRelative(-480f)
                quadToRelative(0f, -33f, 23.5f, -56.5f)
                reflectiveQuadTo(160f, 200f)
                horizontalLineToRelative(126f)
                lineToRelative(74f, -80f)
                horizontalLineToRelative(240f)
                lineToRelative(74f, 80f)
                horizontalLineToRelative(126f)
                quadToRelative(33f, 0f, 56.5f, 23.5f)
                reflectiveQuadTo(880f, 280f)
                verticalLineToRelative(480f)
                quadToRelative(0f, 33f, -23.5f, 56.5f)
                reflectiveQuadTo(800f, 840f)
                horizontalLineTo(160f)
                close()
                moveToRelative(0f, -80f)
                horizontalLineToRelative(640f)
                verticalLineToRelative(-480f)
                horizontalLineTo(638f)
                lineToRelative(-73f, -80f)
                horizontalLineTo(395f)
                lineToRelative(-73f, 80f)
                horizontalLineTo(160f)
                verticalLineToRelative(480f)
                close()
                moveToRelative(320f, -240f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsSwitchCamera!!
    }

private var _MaterialSymbolsSwitchCamera: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/switch_camera.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="m360,-280l56,-56l-62,-62h252l-62,62l56,56l160,-160l-160,-160l-56,56l64,66H352l64,-66l-56,-56l-160,160l160,160ZM160,840q-33,0 -56.5,-23.5T80,760v-480q0,-33 23.5,-56.5T160,200h126l74,-80h240l74,80h126q33,0 56.5,23.5T880,280v480q0,33 -23.5,56.5T800,840H160Zm0,-80h640v-480H638l-73,-80H395l-73,80H160v480Zm320,-240Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="m360-280 56-56-62-62h252l-62 62 56 56 160-160-160-160-56 56 64 66H352l64-66-56-56-160 160 160 160ZM160-120q-33 0-56.5-23.5T80-200v-480q0-33 23.5-56.5T160-760h126l74-80h240l74 80h126q33 0 56.5 23.5T880-680v480q0 33-23.5 56.5T800-120H160Zm0-80h640v-480H638l-73-80H395l-73 80H160v480Zm320-240Z"/></svg>
```
