PathElementManager

interface PathElementManager : KtfxManager<PathElement>

Container of PathElement.

See also

Path

Functions

Link copied to clipboard
abstract fun <C : PathElement> addChild(child: C): C

Allows child to be added dynamically with Kotlin DSL in the context of this manager.

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
fun PathElementManager.arcTo(radiusX: Double = 0.0, radiusY: Double = 0.0, xAxisRotation: Double = 0.0, x: Double = 0.0, y: Double = 0.0, largeArcFlag: Boolean = false, sweepFlag: Boolean = false): ArcTo

Add an ArcTo to this manager.

inline fun PathElementManager.arcTo(radiusX: Double = 0.0, radiusY: Double = 0.0, xAxisRotation: Double = 0.0, x: Double = 0.0, y: Double = 0.0, largeArcFlag: Boolean = false, sweepFlag: Boolean = false, configuration: ArcTo.() -> Unit): ArcTo

Add an ArcTo with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.closePath(): ClosePath

Add a ClosePath to this manager.

inline fun PathElementManager.closePath(configuration: ClosePath.() -> Unit): ClosePath

Add a ClosePath with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.cubicCurveTo(controlX1: Double = 0.0, controlY1: Double = 0.0, controlX2: Double = 0.0, controlY2: Double = 0.0, x: Double = 0.0, y: Double = 0.0): CubicCurveTo

Add a CubicCurveTo to this manager.

inline fun PathElementManager.cubicCurveTo(controlX1: Double = 0.0, controlY1: Double = 0.0, controlX2: Double = 0.0, controlY2: Double = 0.0, x: Double = 0.0, y: Double = 0.0, configuration: CubicCurveTo.() -> Unit): CubicCurveTo

Add a CubicCurveTo with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.hlineTo(x: Double = 0.0): HLineTo

Add a HLineTo to this manager.

inline fun PathElementManager.hlineTo(x: Double = 0.0, configuration: HLineTo.() -> Unit): HLineTo

Add a HLineTo with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.lineTo(x: Double = 0.0, y: Double = 0.0): LineTo

Add a LineTo to this manager.

inline fun PathElementManager.lineTo(x: Double = 0.0, y: Double = 0.0, configuration: LineTo.() -> Unit): LineTo

Add a LineTo with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.moveTo(x: Double = 0.0, y: Double = 0.0): MoveTo

Add a MoveTo to this manager.

inline fun PathElementManager.moveTo(x: Double = 0.0, y: Double = 0.0, configuration: MoveTo.() -> Unit): MoveTo

Add a MoveTo with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.quadCurveTo(controlX: Double = 0.0, controlY: Double = 0.0, x: Double = 0.0, y: Double = 0.0): QuadCurveTo

Add a QuadCurveTo to this manager.

inline fun PathElementManager.quadCurveTo(controlX: Double = 0.0, controlY: Double = 0.0, x: Double = 0.0, y: Double = 0.0, configuration: QuadCurveTo.() -> Unit): QuadCurveTo

Add a QuadCurveTo with configuration block to this manager.

Link copied to clipboard
fun PathElementManager.vlineTo(y: Double = 0.0): VLineTo

Add a VLineTo to this manager.

inline fun PathElementManager.vlineTo(y: Double = 0.0, configuration: VLineTo.() -> Unit): VLineTo

Add a VLineTo with configuration block to this manager.