Google is committed to advancing racial equity for Black communities. See how.

VectorComponent

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

Summary

Public constructors

<init>(viewportWidth: Float, viewportHeight: Float, defaultWidth: Float, defaultHeight: Float, name: String = "")

Public methods

Unit
draw(canvas: Canvas, alpha: Float, colorFilter: ColorFilter?)

Unit
draw(canvas: Canvas)

String

Inherited functions

Properties

Float

Float

String

GroupComponent

Int

Float

Float

Inherited properties

Public constructors

<init>

VectorComponent(
    viewportWidth: Float,
    viewportHeight: Float,
    defaultWidth: Float,
    defaultHeight: Float,
    name: String = "")

Public methods

draw

fun draw(
    canvas: Canvas,
    alpha: Float,
    colorFilter: ColorFilter?
): Unit

draw

fun draw(canvas: Canvas): Unit

toString

fun toString(): String

Properties

defaultHeight

var defaultHeight: Float

defaultWidth

var defaultWidth: Float

name

val name: String

root

val root: GroupComponent

size

val size: Int

viewportHeight

var viewportHeight: Float

viewportWidth

var viewportWidth: Float