# Group

Common/All

## Functions summary

|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable @https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorComposable 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)( name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, rotation: 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>, content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable @https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorComposable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` 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 |

## Functions

### 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/VectorCompose.kt+function:Group) Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.10.0)

```
@Composable
@VectorComposable
fun Group(
    name: String = DefaultGroupName,
    rotation: Float = DefaultRotation,
    pivotX: Float = DefaultPivotX,
    pivotY: Float = DefaultPivotY,
    scaleX: Float = DefaultScaleX,
    scaleY: Float = DefaultScaleY,
    translationX: Float = DefaultTranslationX,
    translationY: Float = DefaultTranslationY,
    clipPathData: List<PathNode> = EmptyPath,
    content: @Composable @VectorComposable () -> Unit
): Unit
```

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`. This is not a regular UI composable, it can only be called inside composables called from the content parameter 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)`.

| Parameters |
|---|---|
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html = DefaultGroupName` | Optional name of the group used when describing the vector as a string. |
| `rotation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultRotation` | The rotation of the group around the Z axis, in degrees. |
| `pivotX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultPivotX` | The horizontal pivot point used for rotation, in pixels. |
| `pivotY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultPivotY` | The vertical pivot point used for rotation, in pixels. |
| `scaleX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultScaleX` | Factor to scale the group by horizontally. |
| `scaleY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultScaleY` | Factor to scale the group by vertically. |
| `translationX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultTranslationX` | Horizontal offset of the group, in pixels. |
| `translationY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = DefaultTranslationY` | Vertical offset of the group, in pixels. |
| `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` | A list of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode`s that define how to clip the group. Empty by default. |
| `content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable @https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorComposable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | A composable that defines the contents of the group. |