PathElementContainer

interface PathElementContainer : Container<PathElement>

Container of PathElement.

See also

Path

Inheritors

Functions

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

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

Link copied to clipboard
inline fun PathElementContainer.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 container.

inline fun PathElementContainer.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 container.

Link copied to clipboard
inline fun PathElementContainer.closePath(): ClosePath

Add a ClosePath to this container.

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

Add a ClosePath with configuration block to this container.

Link copied to clipboard
inline fun PathElementContainer.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 container.

inline fun PathElementContainer.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 container.

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

Add a HLineTo to this container.

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

Add a HLineTo with configuration block to this container.

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

Add a LineTo to this container.

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

Add a LineTo with configuration block to this container.

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

Add a MoveTo to this container.

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

Add a MoveTo with configuration block to this container.

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

Add a QuadCurveTo to this container.

inline fun PathElementContainer.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 container.

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

Add a VLineTo to this container.

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

Add a VLineTo with configuration block to this container.