point

class point(val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val shape: Any? = null, val size: Number? = null, val stroke: Number? = null, val angle: Number? = null, val sizeUnit: String? = null, val colorBy: String? = null, val fillBy: String? = null, val mapping: PointMapping.() -> Unit = {}) : GeomOptions, PointAesthetics, WithSizeUnitOption, WithColorOption, WithFillOption

Constructors

Link copied to clipboard
constructor(x: Number? = null, y: Number? = null, alpha: Number? = null, color: Any? = null, fill: Any? = null, shape: Any? = null, size: Number? = null, stroke: Number? = null, angle: Number? = null, sizeUnit: String? = null, colorBy: String? = null, fillBy: String? = null, mapping: PointMapping.() -> 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 angle: Number? = null

Rotation angle of the shape, in degrees.

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

Color to paint shape's inner points. Is applied only to the points of shapes having inner points. For more info see: aesthetics.html#color-and-fill.

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
val kind: GeomKind
Link copied to clipboard
val mapping: Options
Link copied to clipboard
open override val parameters: Options
Link copied to clipboard
open override val shape: Any? = null

Shape of the point. For more info see: aesthetics.html#point-shapes.

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

Size of the point.

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

Relate the size to the length of the unit step along one of the axes. "x" uses the unit step along the x-axis, "y" uses the unit step along the y-axis. "min" uses the smaller of the unit steps along the x- and y-axes. "max" uses the larger of the unit steps along the x- and y-axes. If not specified, no fitting is performed.

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

Width of the shape border. Applied only to the shapes having border.

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.