# function Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/function.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 MaterialSymbolsFunction: ImageVector
    get() {
        if (_MaterialSymbolsFunction != null) return _MaterialSymbolsFunction!!
        
        _MaterialSymbolsFunction = ImageVector.Builder(
            name = "function",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(400f, 720f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(62f)
                lineToRelative(105f, -120f)
                lineToRelative(-105f, -120f)
                horizontalLineToRelative(-66f)
                lineToRelative(-64f, 344f)
                quadToRelative(-8f, 45f, -37f, 70.5f)
                reflectiveQuadTo(221f, 840f)
                quadToRelative(-45f, 0f, -73f, -24f)
                reflectiveQuadToRelative(-28f, -64f)
                quadToRelative(0f, -32f, 17f, -51.5f)
                reflectiveQuadToRelative(43f, -19.5f)
                quadToRelative(25f, 0f, 42.5f, 17f)
                reflectiveQuadToRelative(17.5f, 41f)
                quadToRelative(0f, 5f, -0.5f, 9f)
                reflectiveQuadToRelative(-1.5f, 9f)
                quadToRelative(5f, -1f, 8.5f, -5.5f)
                reflectiveQuadTo(252f, 739f)
                lineToRelative(62f, -339f)
                horizontalLineTo(200f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(129f)
                lineToRelative(21f, -114f)
                quadToRelative(7f, -38f, 37.5f, -62f)
                reflectiveQuadToRelative(72.5f, -24f)
                quadToRelative(44f, 0f, 72f, 26f)
                reflectiveQuadToRelative(28f, 65f)
                quadToRelative(0f, 30f, -17f, 49.5f)
                reflectiveQuadTo(500f, 280f)
                quadToRelative(-25f, 0f, -42.5f, -17f)
                reflectiveQuadTo(440f, 221f)
                quadToRelative(0f, -5f, 0.5f, -9f)
                reflectiveQuadToRelative(1.5f, -9f)
                quadToRelative(-6f, 2f, -9f, 6f)
                reflectiveQuadToRelative(-5f, 12f)
                lineToRelative(-17f, 99f)
                horizontalLineToRelative(189f)
                verticalLineToRelative(80f)
                horizontalLineToRelative(-32f)
                lineToRelative(52f, 59f)
                lineToRelative(52f, -59f)
                horizontalLineToRelative(-32f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(200f)
                verticalLineToRelative(80f)
                horizontalLineToRelative(-62f)
                lineTo(673f, 520f)
                lineToRelative(105f, 120f)
                horizontalLineToRelative(62f)
                verticalLineToRelative(80f)
                horizontalLineTo(640f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(32f)
                lineToRelative(-52f, -60f)
                lineToRelative(-52f, 60f)
                horizontalLineToRelative(32f)
                verticalLineToRelative(80f)
                horizontalLineTo(400f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsFunction!!
    }

private var _MaterialSymbolsFunction: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/function.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="M400,720v-80h62l105,-120l-105,-120h-66l-64,344q-8,45 -37,70.5T221,840q-45,0 -73,-24t-28,-64q0,-32 17,-51.5t43,-19.5q25,0 42.5,17t17.5,41q0,5 -0.5,9t-1.5,9q5,-1 8.5,-5.5T252,739l62,-339H200v-80h129l21,-114q7,-38 37.5,-62t72.5,-24q44,0 72,26t28,65q0,30 -17,49.5T500,280q-25,0 -42.5,-17T440,221q0,-5 0.5,-9t1.5,-9q-6,2 -9,6t-5,12l-17,99h189v80h-32l52,59l52,-59h-32v-80h200v80h-62L673,520l105,120h62v80H640v-80h32l-52,-60l-52,60h32v80H400Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M400-240v-80h62l105-120-105-120h-66l-64 344q-8 45-37 70.5T221-120q-45 0-73-24t-28-64q0-32 17-51.5t43-19.5q25 0 42.5 17t17.5 41q0 5-.5 9t-1.5 9q5-1 8.5-5.5T252-221l62-339H200v-80h129l21-114q7-38 37.5-62t72.5-24q44 0 72 26t28 65q0 30-17 49.5T500-680q-25 0-42.5-17T440-739q0-5 .5-9t1.5-9q-6 2-9 6t-5 12l-17 99h189v80h-32l52 59 52-59h-32v-80h200v80h-62L673-440l105 120h62v80H640v-80h32l-52-60-52 60h32v80H400Z"/></svg>
```
