# androidx.compose.ui.graphics.vector

Common/All

## Interfaces

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorConfig` | Holds a set of values that overwrite the original property values of an `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector`. | Cmn |

## Classes

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector` | Vector graphics object that is generated as a result of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder` It can be composed and rendered by passing it as an argument to `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/rememberVectorPainter.composable#rememberVectorPainter(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Float,kotlin.Float,kotlin.String,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.BlendMode,kotlin.Function2)` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder` | Builder used to construct a Vector graphic tree. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathBuilder` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathBuilder` provides a fluent API to creates a list of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode`, used to describe a path. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode` | Represents a single command in a vector graphics path. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.ArcTo` | Draws an elliptical arc from the current point to a new point using absolute coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.CurveTo` | Draws a cubic Bézier curve from the current point to a new point using absolute coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.HorizontalTo` | Draws a horizontal line from the current point to the specified absolute x-coordinate. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.LineTo` | Draws a line from the current point to the specified absolute (x,y) coordinate. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.MoveTo` | Starts a new subpath at the given absolute (x,y) coordinate. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.QuadTo` | Draws a quadratic Bézier curve from the current point to a new point using absolute coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.ReflectiveCurveTo` | Draws a smooth cubic Bézier curve using absolute coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.ReflectiveQuadTo` | Draws a smooth quadratic Bézier curve using absolute coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeArcTo` | Draws an elliptical arc from the current point to a new point using relative coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeCurveTo` | Draws a cubic Bézier curve from the current point to a new point using relative coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeHorizontalTo` | Draws a horizontal line from the current point, offset by a relative distance `dx`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeLineTo` | Draws a line from the current point to a new point, defined by a relative offset. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeMoveTo` | Starts a new subpath at a point defined by a relative offset from the current point. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeQuadTo` | Draws a quadratic Bézier curve from the current point to a new point using relative coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeReflectiveCurveTo` | Draws a smooth cubic Bézier curve using relative coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeReflectiveQuadTo` | Draws a smooth quadratic Bézier curve using relative coordinates. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeVerticalTo` | Draws a vertical line from the current point, offset by a relative distance `dy`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.VerticalTo` | Draws a vertical line from the current point to the specified absolute y-coordinate. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathParser` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VNode` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorApplier` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup` | Defines a group of paths or subgroups, plus transformation information. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorNode` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPainter` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/painter/Painter` implementation that abstracts the drawing of a Vector graphic. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPath` | Leaf node of a Vector graphics tree. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty` | Represents one of the properties for PathComponent or GroupComponent that can be overwritten when it is composed and drawn with `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/RenderVectorGroup.composable#RenderVectorGroup(androidx.compose.ui.graphics.vector.VectorGroup,kotlin.collections.Map)`. | Cmn |

## Objects

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Companion` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.Close` | Closes the current subpath by drawing a straight line from the current point to the initial point of the subpath. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.Fill` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.FillAlpha` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.PathData` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.PivotX` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.PivotY` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.Rotation` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.ScaleX` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.ScaleY` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.Stroke` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.StrokeAlpha` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.StrokeLineWidth` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.TranslateX` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.TranslateY` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.TrimPathEnd` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.TrimPathOffset` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty.TrimPathStart` |   | Cmn |

## Annotations

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorComposable` | An annotation that can be used to mark an composable function as being expected to be use in a composable function that is also marked or inferred to be marked as a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorComposable`. | Cmn |

## Composables

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/Group.composable` | Defines a group of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/Path.composable#Path(kotlin.collections.List,androidx.compose.ui.graphics.PathFillType,kotlin.String,androidx.compose.ui.graphics.Brush,kotlin.Float,androidx.compose.ui.graphics.Brush,kotlin.Float,kotlin.Float,androidx.compose.ui.graphics.StrokeCap,androidx.compose.ui.graphics.StrokeJoin,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)`s and other `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/Group.composable#Group(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.collections.List,kotlin.Function0)`s inside a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPainter`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/Path.composable` | Defines a path inside a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPainter`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/RenderVectorGroup.composable` | Recursively creates the vector graphic composition by traversing the tree structure. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/rememberVectorPainter.composable` | Create a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPainter` with the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector`. | Cmn |

## Constants summary

|---|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultGroupName()` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultPathName()` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultPivotX() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultPivotY() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultRotation() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultScaleX() = 1.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultScaleY() = 1.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultStrokeLineMiter() = 4.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultStrokeLineWidth() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTranslationX() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTranslationY() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTrimPathEnd() = 1.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTrimPathOffset() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTrimPathStart() = 0.0f` | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#RootGroupName()` Default identifier for the root group if a Vector graphic | Cmn |

## Top-level functions summary

|---|---|---|
| `inline https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#PathData(kotlin.Function1)(block: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathBuilder.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#addPathNodes(kotlin.String)(pathStr: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` | Cmn |

## Extension functions summary

|---|---|---|
| `inline https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder.https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(androidx.compose.ui.graphics.vector.ImageVector.Builder).group(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.collections.List,kotlin.Function1)( name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, rotate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, pivotX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, pivotY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, scaleX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, scaleY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, translationX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, translationY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, clipPathData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode>, block: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` DSL extension for adding a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup` to `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder`. | Cmn |
| `inline https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder.https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(androidx.compose.ui.graphics.vector.ImageVector.Builder).path(kotlin.String,androidx.compose.ui.graphics.Brush,kotlin.Float,androidx.compose.ui.graphics.Brush,kotlin.Float,kotlin.Float,androidx.compose.ui.graphics.StrokeCap,androidx.compose.ui.graphics.StrokeJoin,kotlin.Float,androidx.compose.ui.graphics.PathFillType,kotlin.Function1)( name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, fill: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush?, fillAlpha: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, stroke: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush?, strokeAlpha: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, strokeLineWidth: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, strokeLineCap: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap, strokeLineJoin: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeJoin, strokeLineMiter: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, pathFillType: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/PathFillType, pathBuilder: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathBuilder.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` DSL extension for adding a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPath` to `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path` | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode>.https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(kotlin.collections.List).toPath(androidx.compose.ui.graphics.Path)(target: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path)` Converts this list of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode` into a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path` by adding the appropriate commands to the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(kotlin.collections.List).toPath(androidx.compose.ui.graphics.Path)` path. | Cmn |

## Top-level properties summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/PathFillType` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultFillType()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultStrokeLineCap()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeJoin` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultStrokeLineJoin()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/BlendMode` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTintBlendMode()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#DefaultTintColor()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#EmptyPath()` | Cmn |

## Constants

### DefaultGroupName

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultGroupName) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultGroupName: String
```

### DefaultPathName

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultPathName) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultPathName: String
```

### DefaultPivotX

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultPivotX) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultPivotX = 0.0f: Float
```

### DefaultPivotY

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultPivotY) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultPivotY = 0.0f: Float
```

### DefaultRotation

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultRotation) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultRotation = 0.0f: Float
```

### DefaultScaleX

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultScaleX) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultScaleX = 1.0f: Float
```

### DefaultScaleY

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultScaleY) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultScaleY = 1.0f: Float
```

### DefaultStrokeLineMiter

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultStrokeLineMiter) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultStrokeLineMiter = 4.0f: Float
```

### DefaultStrokeLineWidth

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultStrokeLineWidth) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultStrokeLineWidth = 0.0f: Float
```

### DefaultTranslationX

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTranslationX) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultTranslationX = 0.0f: Float
```

### DefaultTranslationY

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTranslationY) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultTranslationY = 0.0f: Float
```

### DefaultTrimPathEnd

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTrimPathEnd) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultTrimPathEnd = 1.0f: Float
```

### DefaultTrimPathOffset

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTrimPathOffset) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultTrimPathOffset = 0.0f: Float
```

### DefaultTrimPathStart

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTrimPathStart) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val DefaultTrimPathStart = 0.0f: Float
```

### RootGroupName

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/VectorPainter.kt+symbol:RootGroupName) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
const val RootGroupName: String
```

Default identifier for the root group if a Vector graphic

## Top-level functions

### PathData

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+function:PathData) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
inline fun PathData(block: PathBuilder.() -> Unit): List<PathNode>
```

### addPathNodes

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+function:addPathNodes) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
fun addPathNodes(pathStr: String?): List<PathNode>
```

## Extension functions

### ImageVector.Builder.group

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/ImageVector.kt+function:group)

```
inline fun ImageVector.Builder.group(
    name: String = DefaultGroupName,
    rotate: Float = DefaultRotation,
    pivotX: Float = DefaultPivotX,
    pivotY: Float = DefaultPivotY,
    scaleX: Float = DefaultScaleX,
    scaleY: Float = DefaultScaleY,
    translationX: Float = DefaultTranslationX,
    translationY: Float = DefaultTranslationY,
    clipPathData: List<PathNode> = EmptyPath,
    block: ImageVector.Builder.() -> Unit
): ImageVector.Builder
```

DSL extension for adding a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup` to `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder`.

See `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder#addGroup(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.collections.List)` for the corresponding builder function.

| Parameters |
|---|---|
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html = DefaultGroupName` | the name of the group |
| `rotate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultRotation` | the rotation of the group in degrees |
| `pivotX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultPivotX` | the x coordinate of the pivot point to rotate or scale the group |
| `pivotY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultPivotY` | the y coordinate of the pivot point to rotate or scale the group |
| `scaleX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultScaleX` | the scale factor in the X-axis to apply to the group |
| `scaleY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultScaleY` | the scale factor in the Y-axis to apply to the group |
| `translationX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultTranslationX` | the translation in virtual pixels to apply along the x-axis |
| `translationY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultTranslationY` | the translation in virtual pixels to apply along the y-axis |
| `clipPathData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode> = EmptyPath` | the path information used to clip the content within the group |
| `block: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | builder lambda to add children to this group |

### ImageVector.Builder.path

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/ImageVector.kt+function:path)

```
inline fun ImageVector.Builder.path(
    name: String = DefaultPathName,
    fill: Brush? = null,
    fillAlpha: Float = 1.0f,
    stroke: Brush? = null,
    strokeAlpha: Float = 1.0f,
    strokeLineWidth: Float = DefaultStrokeLineWidth,
    strokeLineCap: StrokeCap = DefaultStrokeLineCap,
    strokeLineJoin: StrokeJoin = DefaultStrokeLineJoin,
    strokeLineMiter: Float = DefaultStrokeLineMiter,
    pathFillType: PathFillType = DefaultFillType,
    pathBuilder: PathBuilder.() -> Unit
): ImageVector.Builder
```

DSL extension for adding a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorPath` to `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder`.

See `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder#addPath(kotlin.collections.List,androidx.compose.ui.graphics.PathFillType,kotlin.String,androidx.compose.ui.graphics.Brush,kotlin.Float,androidx.compose.ui.graphics.Brush,kotlin.Float,kotlin.Float,androidx.compose.ui.graphics.StrokeCap,androidx.compose.ui.graphics.StrokeJoin,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)` for the corresponding builder function.

| Parameters |
|---|---|
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html = DefaultPathName` | the name for this path |
| `fill: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush? = null` | specifies the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush` used to fill the path |
| `fillAlpha: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 1.0f` | the alpha to fill the path |
| `stroke: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush? = null` | specifies the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush` used to fill the stroke |
| `strokeAlpha: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 1.0f` | the alpha to stroke the path |
| `strokeLineWidth: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultStrokeLineWidth` | the width of the line to stroke the path |
| `strokeLineCap: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap = DefaultStrokeLineCap` | specifies the linecap for a stroked path |
| `strokeLineJoin: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeJoin = DefaultStrokeLineJoin` | specifies the linejoin for a stroked path |
| `strokeLineMiter: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultStrokeLineMiter` | specifies the miter limit for a stroked path |
| `pathFillType: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/PathFillType = DefaultFillType` | specifies the winding rule that decides how the interior of a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path` is calculated. |
| `pathBuilder: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathBuilder.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathBuilder` lambda for adding `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode`s to this path. |

### List.toPath

Cmn Artifact: [androidx.compose.ui:ui-graphics](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/PathParser.kt+function:toPath)

```
fun List<PathNode>.toPath(target: Path = Path()): Path
```

Converts this list of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode` into a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path` by adding the appropriate commands to the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(kotlin.collections.List).toPath(androidx.compose.ui.graphics.Path)` path. If `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(kotlin.collections.List).toPath(androidx.compose.ui.graphics.Path)` is not specified, a new `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path` instance is created. This method returns `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/package-summary#(kotlin.collections.List).toPath(androidx.compose.ui.graphics.Path)` or the newly created `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path`.

## Top-level properties

### DefaultFillType

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultFillType) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val DefaultFillType: PathFillType
```

### DefaultStrokeLineCap

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultStrokeLineCap) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val DefaultStrokeLineCap: StrokeCap
```

### DefaultStrokeLineJoin

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultStrokeLineJoin) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val DefaultStrokeLineJoin: StrokeJoin
```

### DefaultTintBlendMode

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTintBlendMode) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val DefaultTintBlendMode: BlendMode
```

### DefaultTintColor

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:DefaultTintColor) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val DefaultTintColor: Color
```

### EmptyPath

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/Vector.kt+symbol:EmptyPath) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val EmptyPath: List<PathNode>
```