# cameraswitch Icon

> The cameraswitch 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/cameraswitch.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/cameraswitch.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/cameraswitch.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/cameraswitch.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/cameraswitch.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/cameraswitch.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 MaterialIconsCameraswitch: ImageVector
    get() {
        if (_MaterialIconsCameraswitch != null) return _MaterialIconsCameraswitch!!
        
        _MaterialIconsCameraswitch = ImageVector.Builder(
            name = "cameraswitch",
            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(16f, 7f)
                        horizontalLineToRelative(-1f)
                        lineToRelative(-1f, -1f)
                        horizontalLineToRelative(-4f)
                        lineTo(9f, 7f)
                        horizontalLineTo(8f)
                        curveTo(6.9f, 7f, 6f, 7.9f, 6f, 9f)
                        verticalLineToRelative(6f)
                        curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
                        horizontalLineToRelative(8f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        verticalLineTo(9f)
                        curveTo(18f, 7.9f, 17.1f, 7f, 16f, 7f)
                        close()
                        moveTo(16f, 15f)
                        horizontalLineTo(8f)
                        verticalLineTo(9f)
                        horizontalLineToRelative(1.83f)
                        lineToRelative(1f, -1f)
                        horizontalLineToRelative(2.34f)
                        lineToRelative(1f, 1f)
                        horizontalLineTo(16f)
                        verticalLineTo(15f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(14f, 12f)
                        arcTo(2f, 2f, 0f, false, true, 12f, 14f)
                        arcTo(2f, 2f, 0f, false, true, 10f, 12f)
                        arcTo(2f, 2f, 0f, false, true, 14f, 12f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(8.57f, 0.52f)
                        lineTo(13.05f, 5f)
                        lineToRelative(1.41f, -1.41f)
                        lineToRelative(-1.54f, -1.54f)
                        curveTo(17.7f, 2.46f, 21.53f, 6.24f, 22f, 11f)
                        horizontalLineToRelative(2f)
                        curveTo(23.36f, 3.3f, 15.79f, -1.67f, 8.57f, 0.52f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(9.54f, 20.41f)
                        lineToRelative(1.54f, 1.54f)
                        curveTo(6.3f, 21.54f, 2.47f, 17.76f, 2f, 13f)
                        horizontalLineTo(0f)
                        curveToRelative(0.64f, 7.7f, 8.21f, 12.67f, 15.43f, 10.48f)
                        lineTo(10.95f, 19f)
                        lineTo(9.54f, 20.41f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsCameraswitch!!
    }

private var _MaterialIconsCameraswitch: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/cameraswitch.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="M16,7h-1l-1,-1h-4L9,7H8C6.9,7 6,7.9 6,9v6c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V9C18,7.9 17.1,7 16,7ZM16,15H8V9h1.83l1,-1h2.34l1,1H16V15Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 14,12Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M8.57,0.52L13.05,5l1.41,-1.41l-1.54,-1.54C17.7,2.46 21.53,6.24 22,11h2C23.36,3.3 15.79,-1.67 8.57,0.52Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M9.54,20.41l1.54,1.54C6.3,21.54 2.47,17.76 2,13H0c0.64,7.7 8.21,12.67 15.43,10.48L10.95,19L9.54,20.41Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/cameraswitch.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="M16,7h-1l-1-1h-4L9,7H8C6.9,7,6,7.9,6,9v6c0,1.1,0.9,2,2,2h8c1.1,0,2-0.9,2-2V9C18,7.9,17.1,7,16,7z M16,15H8V9h1.83l1-1 h2.34l1,1H16V15z"/><circle cx="12" cy="12" r="2"/><path d="M8.57,0.52L13.05,5l1.41-1.41l-1.54-1.54C17.7,2.46,21.53,6.24,22,11h2C23.36,3.3,15.79-1.67,8.57,0.52z"/><path d="M9.54,20.41l1.54,1.54C6.3,21.54,2.47,17.76,2,13H0c0.64,7.7,8.21,12.67,15.43,10.48L10.95,19L9.54,20.41z"/></g></g></svg>
```
