# directions_subway Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/directions_subway.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 MaterialSymbolsDirectionsSubway: ImageVector
    get() {
        if (_MaterialSymbolsDirectionsSubway != null) return _MaterialSymbolsDirectionsSubway!!
        
        _MaterialSymbolsDirectionsSubway = ImageVector.Builder(
            name = "directions_subway",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(240f, 840f)
                verticalLineToRelative(-40f)
                lineToRelative(60f, -40f)
                quadToRelative(-59f, 0f, -99.5f, -40.5f)
                reflectiveQuadTo(160f, 620f)
                verticalLineToRelative(-380f)
                quadToRelative(0f, -83f, 77f, -121.5f)
                reflectiveQuadTo(480f, 80f)
                quadToRelative(172f, 0f, 246f, 37f)
                reflectiveQuadToRelative(74f, 123f)
                verticalLineToRelative(380f)
                quadToRelative(0f, 59f, -40.5f, 99.5f)
                reflectiveQuadTo(660f, 760f)
                lineToRelative(60f, 40f)
                verticalLineToRelative(40f)
                horizontalLineTo(240f)
                close()
                moveToRelative(0f, -440f)
                horizontalLineToRelative(200f)
                verticalLineToRelative(-120f)
                horizontalLineTo(240f)
                verticalLineToRelative(120f)
                close()
                moveToRelative(420f, 80f)
                horizontalLineTo(240f)
                horizontalLineToRelative(480f)
                horizontalLineToRelative(-60f)
                close()
                moveToRelative(-140f, -80f)
                horizontalLineToRelative(200f)
                verticalLineToRelative(-120f)
                horizontalLineTo(520f)
                verticalLineToRelative(120f)
                close()
                moveTo(340f, 640f)
                quadToRelative(25f, 0f, 42.5f, -17.5f)
                reflectiveQuadTo(400f, 580f)
                quadToRelative(0f, -25f, -17.5f, -42.5f)
                reflectiveQuadTo(340f, 520f)
                quadToRelative(-25f, 0f, -42.5f, 17.5f)
                reflectiveQuadTo(280f, 580f)
                quadToRelative(0f, 25f, 17.5f, 42.5f)
                reflectiveQuadTo(340f, 640f)
                close()
                moveToRelative(280f, 0f)
                quadToRelative(25f, 0f, 42.5f, -17.5f)
                reflectiveQuadTo(680f, 580f)
                quadToRelative(0f, -25f, -17.5f, -42.5f)
                reflectiveQuadTo(620f, 520f)
                quadToRelative(-25f, 0f, -42.5f, 17.5f)
                reflectiveQuadTo(560f, 580f)
                quadToRelative(0f, 25f, 17.5f, 42.5f)
                reflectiveQuadTo(620f, 640f)
                close()
                moveToRelative(-320f, 40f)
                horizontalLineToRelative(360f)
                quadToRelative(26f, 0f, 43f, -17f)
                reflectiveQuadToRelative(17f, -43f)
                verticalLineToRelative(-140f)
                horizontalLineTo(240f)
                verticalLineToRelative(140f)
                quadToRelative(0f, 26f, 17f, 43f)
                reflectiveQuadToRelative(43f, 17f)
                close()
                moveToRelative(180f, -520f)
                quadToRelative(-86f, 0f, -142.5f, 10f)
                reflectiveQuadTo(258f, 200f)
                horizontalLineToRelative(448f)
                quadToRelative(-18f, -20f, -74.5f, -30f)
                reflectiveQuadTo(480f, 160f)
                close()
                moveToRelative(0f, 40f)
                horizontalLineToRelative(226f)
                horizontalLineToRelative(-448f)
                horizontalLineToRelative(222f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsDirectionsSubway!!
    }

private var _MaterialSymbolsDirectionsSubway: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/directions_subway.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="M240,840v-40l60,-40q-59,0 -99.5,-40.5T160,620v-380q0,-83 77,-121.5T480,80q172,0 246,37t74,123v380q0,59 -40.5,99.5T660,760l60,40v40H240Zm0,-440h200v-120H240v120Zm420,80H240h480h-60Zm-140,-80h200v-120H520v120ZM340,640q25,0 42.5,-17.5T400,580q0,-25 -17.5,-42.5T340,520q-25,0 -42.5,17.5T280,580q0,25 17.5,42.5T340,640Zm280,0q25,0 42.5,-17.5T680,580q0,-25 -17.5,-42.5T620,520q-25,0 -42.5,17.5T560,580q0,25 17.5,42.5T620,640Zm-320,40h360q26,0 43,-17t17,-43v-140H240v140q0,26 17,43t43,17Zm180,-520q-86,0 -142.5,10T258,200h448q-18,-20 -74.5,-30T480,160Zm0,40h226h-448h222Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M240-120v-40l60-40q-59 0-99.5-40.5T160-340v-380q0-83 77-121.5T480-880q172 0 246 37t74 123v380q0 59-40.5 99.5T660-200l60 40v40H240Zm0-440h200v-120H240v120Zm420 80H240h480-60Zm-140-80h200v-120H520v120ZM340-320q25 0 42.5-17.5T400-380q0-25-17.5-42.5T340-440q-25 0-42.5 17.5T280-380q0 25 17.5 42.5T340-320Zm280 0q25 0 42.5-17.5T680-380q0-25-17.5-42.5T620-440q-25 0-42.5 17.5T560-380q0 25 17.5 42.5T620-320Zm-320 40h360q26 0 43-17t17-43v-140H240v140q0 26 17 43t43 17Zm180-520q-86 0-142.5 10T258-760h448q-18-20-74.5-30T480-800Zm0 40h226-448 222Z"/></svg>
```
