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 ImageVector.Builder construction

Summary

Public functions

open operator Boolean
equals(other: Any?)
Cmn
operator VectorNode
get(index: Int)
Cmn
open Int
Cmn
open operator Iterator<VectorNode>
Cmn

Public properties

List<PathNode>

Path information used to clip the content within the group

Cmn
String

Name of the corresponding group

Cmn
Float

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

Cmn
Float

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

Cmn
Float

Rotation of the group in degrees

Cmn
Float

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

Cmn
Float

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

Cmn
Int
Cmn
Float

Translation in virtual pixels to apply along the x-axis

Cmn
Float

Translation in virtual pixels to apply along the y-axis

Cmn

Public functions

equals

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

get

operator fun get(index: Int): VectorNode

hashCode

open fun hashCode(): Int

iterator

open operator fun iterator(): Iterator<VectorNode>

Public properties

clipPathData

val clipPathDataList<PathNode>

Path information used to clip the content within the group

name

val nameString

Name of the corresponding group

pivotX

val pivotXFloat

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

pivotY

val pivotYFloat

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

rotation

val rotationFloat

Rotation of the group in degrees

scaleX

val scaleXFloat

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

scaleY

val scaleYFloat

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

size

val sizeInt

translationX

val translationXFloat

Translation in virtual pixels to apply along the x-axis

translationY

val translationYFloat

Translation in virtual pixels to apply along the y-axis