All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.data2viz.viz.PathNode.kt Maven / Gradle / Ivy

There is a newer version: 0.8.0-RC5
Show newest version
package io.data2viz.viz

import io.data2viz.geom.PathGeom
import io.data2viz.geom.Path

open class PathNode(val path: PathGeom = PathGeom()): Node(),
        HasStroke,
        HasFill,
        HasTransform,
        Path by path {

    override var transform: Transform? = null

    /**
     * Remove all segments of the path.
     * Todo should it be defined as a function of Path.
     */
    fun clearPath() {
        path.clearPath()
    }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy