# flag_2 Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/flag_2.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 MaterialSymbolsFlag2: ImageVector
    get() {
        if (_MaterialSymbolsFlag2 != null) return _MaterialSymbolsFlag2!!
        
        _MaterialSymbolsFlag2 = ImageVector.Builder(
            name = "flag_2",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(200f, 880f)
                verticalLineToRelative(-760f)
                horizontalLineToRelative(640f)
                lineToRelative(-80f, 200f)
                lineToRelative(80f, 200f)
                horizontalLineTo(280f)
                verticalLineToRelative(360f)
                horizontalLineToRelative(-80f)
                close()
                moveToRelative(80f, -440f)
                horizontalLineToRelative(442f)
                lineToRelative(-48f, -120f)
                lineToRelative(48f, -120f)
                horizontalLineTo(280f)
                verticalLineToRelative(240f)
                close()
                moveToRelative(0f, 0f)
                verticalLineToRelative(-240f)
                verticalLineToRelative(240f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsFlag2!!
    }

private var _MaterialSymbolsFlag2: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/flag_2.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="M200,880v-760h640l-80,200l80,200H280v360h-80Zm80,-440h442l-48,-120l48,-120H280v240Zm0,0v-240v240Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M200-80v-760h640l-80 200 80 200H280v360h-80Zm80-440h442l-48-120 48-120H280v240Zm0 0v-240 240Z"/></svg>
```
