GroupComponent

class GroupComponent : VNode
kotlin.Any
   ↳ androidx.ui.graphics.vector.VNode
   ↳ androidx.ui.graphics.vector.GroupComponent

Summary

Public constructors

<init>(name: String = DefaultGroupName)

Public methods

Unit
draw(canvas: Canvas)

Unit
insertAt(index: Int, instance: VNode)

Unit
move(from: Int, to: Int, count: Int)

Unit
remove(index: Int, count: Int)

String

Inherited functions

Properties

List<PathNode>

() -> Unit

Callback invoked whenever the node in the vector tree is modified in a way that would change the output of the Vector

String

Float

Float

Float

Float

Float

Int

Float

Float

Public constructors

<init>

GroupComponent(name: String = DefaultGroupName)

Public methods

draw

fun draw(canvas: Canvas): Unit

insertAt

fun insertAt(
    index: Int,
    instance: VNode
): Unit

move

fun move(
    from: Int,
    to: Int,
    count: Int
): Unit

remove

fun remove(
    index: Int,
    count: Int
): Unit

toString

fun toString(): String

Properties

clipPathData

var clipPathData: List<PathNode>

invalidateListener

var invalidateListener: () -> Unit

Callback invoked whenever the node in the vector tree is modified in a way that would change the output of the Vector

name

val name: String

pivotX

var pivotX: Float

pivotY

var pivotY: Float

rotation

var rotation: Float

scaleX

var scaleX: Float

scaleY

var scaleY: Float

size

val size: Int

translationX

var translationX: Float

translationY

var translationY: Float