path

class path(val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, val mapping: PathMapping.() -> Unit = {}) : GeomOptions, PathAesthetics, WithColorOption

Constructors

Link copied to clipboard
constructor(x: Number? = null, y: Number? = null, alpha: Number? = null, color: Any? = null, linetype: Any? = null, size: Number? = null, colorBy: String? = null, mapping: PathMapping.() -> Unit = {})

Properties

Link copied to clipboard
open override val alpha: Number? = null

Transparency level of a layer. Understands numbers between 0 and 1.

Link copied to clipboard
open override val color: Any? = null

Color of the geometry. For more info see: aesthetics.html#color-and-fill.

Link copied to clipboard
open override val colorBy: String? = null

default = "color" ("fill", "color", "paint_a", "paint_b", "paint_c"). Defines the color aesthetic for the layer.

Link copied to clipboard
val kind: GeomKind
Link copied to clipboard
open override val linetype: Any? = null

Type of the line. Accept codes or names (0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash"), a hex string (up to 8 digits for dash-gap lengths), or a pattern offset to listOf(dash, gap, ...) / listOf(dash, gap, ...). For more info see: aesthetics.html#line-types.

Link copied to clipboard
val mapping: Options
Link copied to clipboard
open override val parameters: Options
Link copied to clipboard
open override val size: Number? = null

Line width.

Link copied to clipboard
open override val x: Number? = null

X-axis value.

Link copied to clipboard
open override val y: Number? = null

Y-axis value.