TextRepelMapping

constructor(x: Any? = null, y: Any? = null, label: Any? = null, alpha: Any? = null, color: Any? = null, size: Any? = null, family: Any? = null, fontface: Any? = null, hjust: Any? = null, vjust: Any? = null, angle: Any? = null, lineheight: Any? = null, shape: Any? = null, pointSize: Any? = null, pointStroke: Any? = null, segmentColor: Any? = null, segmentSize: Any? = null, segmentAlpha: Any? = null, linetype: Any? = null, group: Any? = null, paint_a: Any? = null, paint_b: Any? = null, paint_c: Any? = null)

Parameters

x

X-axis value.

y

Y-axis value.

label

Text label to display.

alpha

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

color

Color of the geometry.

size

Font size.

family

Font family.

fontface

Font face.

hjust

horizontal text alignment relative to the x-coordinate.

vjust

vertical text alignment relative to the y-coordinate.

angle

Text rotation angle in degrees.

lineheight

Line height multiplier applied to the font size in the case of multi-line text.

shape

Shape of the point.

pointSize

A value representing the visual size of the point associated with the label.

pointStroke

Width of the point border.

segmentColor

Color of the line segment connecting the label to the point.

segmentSize

Width of the line segment connecting the label to the point.

segmentAlpha

Transparency level of the line segment. Understands numbers between 0 and 1.

linetype

Type of the line.

group

Grouping key. If not set, grouping may be inferred from other aesthetics (e.g., color, size).

paint_a

Auxiliary paint channel A that can be used as either color or fill as needed. Map a variable here for composite/multi-channel color with a matching scale.

paint_b

Auxiliary paint channel B. See paint_a.

paint_c

Auxiliary paint channel C. See paint_a.