VectorComponent

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

Summary

Public constructors

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

Public methods

Unit
draw(canvas: Canvas, tintColor: Color = DefaultTintColor, blendMode: BlendMode = DefaultTintBlendMode)

Unit
draw(canvas: Canvas)

String

Inherited functions

Properties

Px

Px

String

GroupComponent

Int

Float

Float

Inherited properties

Public constructors

<init>

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

Public methods

draw

fun draw(
    canvas: Canvas,
    tintColor: Color = DefaultTintColor,
    blendMode: BlendMode = DefaultTintBlendMode
): Unit

draw

fun draw(canvas: Canvas): Unit

toString

fun toString(): String

Properties

defaultHeight

var defaultHeight: Px

defaultWidth

var defaultWidth: Px

name

val name: String

root

val root: GroupComponent

size

val size: Int

viewportHeight

var viewportHeight: Float

viewportWidth

var viewportWidth: Float