# VectorGroup

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+class:androidx.compose.ui.graphics.vector.VectorGroup) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/All
- Cmn

  ```
  class VectorGroup : VectorNode, Iterable<VectorNode>
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.compose.ui.graphics.vector.VectorNode](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorNode) ||
|   | ↳ | [androidx.compose.ui.graphics.vector.VectorGroup](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup) |

*** ** * ** ***

Defines a group of paths or subgroups, plus transformation information. The transformations are defined in the same coordinates as the viewport. The transformations are applied in the order of scale, rotate then translate.

This is constructed as part of the result of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.Builder` construction

## Summary

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `operator https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorNode` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#get(kotlin.Int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#hashCode()()` | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-iterator/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorNode>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#iterator()()` | Cmn |

| ### Public properties |
|---|---|---|
| `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/VectorGroup#clipPathData()` Path information used to clip the content within the group | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#name()` Name of the corresponding group | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#pivotX()` X coordinate of the pivot point to rotate or scale the group | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#pivotY()` Y coordinate of the pivot point to rotate or scale the group | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#rotation()` Rotation of the group in degrees | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#scaleX()` Scale factor in the X-axis to apply to the group | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#scaleY()` Scale factor in the Y-axis to apply to the group | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#size()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#translationX()` Translation in virtual pixels to apply along the x-axis | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup#translationY()` Translation in virtual pixels to apply along the y-axis | Cmn |

## Public functions

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### get

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
operator fun get(index: Int): VectorNode
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

### iterator

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
open operator fun iterator(): Iterator<VectorNode>
```

## Public properties

### clipPathData

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val clipPathData: List<PathNode>
```

Path information used to clip the content within the group

### name

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val name: String
```

Name of the corresponding group

### pivotX

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val pivotX: Float
```

X coordinate of the pivot point to rotate or scale the group

### pivotY

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val pivotY: Float
```

Y coordinate of the pivot point to rotate or scale the group

### rotation

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val rotation: Float
```

Rotation of the group in degrees

### scaleX

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val scaleX: Float
```

Scale factor in the X-axis to apply to the group

### scaleY

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val scaleY: Float
```

Scale factor in the Y-axis to apply to the group

### size

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val size: Int
```

### translationX

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val translationX: Float
```

Translation in virtual pixels to apply along the x-axis

### translationY

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val translationY: Float
```

Translation in virtual pixels to apply along the y-axis