tile

class tile(val x: Number? = null, val y: Number? = null, val width: Number? = null, val height: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, val fillBy: String? = null, val mapping: TileMapping.() -> Unit = {}) : GeomOptions, TileAesthetics, WithColorOption, WithFillOption

Constructors

Link copied to clipboard
constructor(x: Number? = null, y: Number? = null, width: Number? = null, height: Number? = null, alpha: Number? = null, color: Any? = null, fill: Any? = null, linetype: Any? = null, size: Number? = null, colorBy: String? = null, fillBy: String? = null, mapping: TileMapping.() -> 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.

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
open override val fill: Any? = null

Fill color.

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

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

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

Height of a tile. Typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.

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

Type of the line.

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, default = 0 (i.e., tiles outline initially is not visible).

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

Width of a tile. Typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.

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

X-axis coordinates of the center of rectangles.

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

Y-axis coordinates of the center of rectangles.