# stylus_pencil Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/stylus_pencil.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 MaterialSymbolsStylusPencil: ImageVector
    get() {
        if (_MaterialSymbolsStylusPencil != null) return _MaterialSymbolsStylusPencil!!
        
        _MaterialSymbolsStylusPencil = ImageVector.Builder(
            name = "stylus_pencil",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(160f, 840f)
                lineToRelative(22f, -65f)
                quadToRelative(8f, -25f, 29f, -40f)
                reflectiveQuadToRelative(47f, -15f)
                horizontalLineToRelative(444f)
                quadToRelative(26f, 0f, 47f, 15f)
                reflectiveQuadToRelative(29f, 40f)
                lineToRelative(22f, 65f)
                horizontalLineTo(160f)
                close()
                moveToRelative(80f, -200f)
                lineToRelative(200f, -520f)
                horizontalLineToRelative(80f)
                lineToRelative(200f, 520f)
                horizontalLineTo(240f)
                close()
                moveToRelative(116f, -80f)
                horizontalLineToRelative(248f)
                lineTo(480f, 239f)
                lineTo(356f, 560f)
                close()
                moveToRelative(0f, 0f)
                horizontalLineToRelative(248f)
                horizontalLineToRelative(-248f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsStylusPencil!!
    }

private var _MaterialSymbolsStylusPencil: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/stylus_pencil.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="m160,-120l22,-65q8,-25 29,-40t47,-15h444q26,0 47,15t29,40l22,65H160Zm80,-200l200,-520h80l200,520H240Zm116,-80h248L480,239L356,560Zm0,0h248h-248Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="m160-120 22-65q8-25 29-40t47-15h444q26 0 47 15t29 40l22 65H160Zm80-200 200-520h80l200 520H240Zm116-80h248L480-721 356-400Zm0 0h248-248Z"/></svg>
```
