textRepel

class textRepel(val x: Number? = null, val y: Number? = null, val label: String? = null, val alpha: Number? = null, val color: Any? = null, val size: Number? = null, val family: String? = null, val fontface: String? = null, val hjust: Any? = null, val vjust: Any? = null, val angle: Number? = null, val shape: Any? = null, val pointSize: Any? = null, val pointStroke: Any? = null, val segmentColor: Any? = null, val segmentSize: Any? = null, val segmentAlpha: Any? = null, val linetype: Any? = null, val lineheight: Number? = null, val labelFormat: String? = null, val naText: String? = null, val nudgeX: Number? = null, val nudgeY: Number? = null, val sizeUnit: String? = null, val nudgeUnit: String? = null, val colorBy: String? = null, val checkOverlap: Boolean? = null, val seed: Int? = null, val maxIter: Int? = null, val maxTime: Double? = null, val direction: String? = null, val pointPadding: Number? = null, val boxPadding: Number? = null, val maxOverlaps: Int? = null, val minSegmentLength: Number? = null, val arrow: Map<String, Any>? = null, val mapping: TextRepelMapping.() -> Unit = {}) : GeomOptions, TextRepelAesthetics, TextParameters, RepelParameters, WithSizeUnitOption, WithColorOption

Constructors

Link copied to clipboard
constructor(x: Number? = null, y: Number? = null, label: String? = null, alpha: Number? = null, color: Any? = null, size: Number? = null, family: String? = null, fontface: String? = null, hjust: Any? = null, vjust: Any? = null, angle: Number? = null, shape: Any? = null, pointSize: Any? = null, pointStroke: Any? = null, segmentColor: Any? = null, segmentSize: Any? = null, segmentAlpha: Any? = null, linetype: Any? = null, lineheight: Number? = null, labelFormat: String? = null, naText: String? = null, nudgeX: Number? = null, nudgeY: Number? = null, sizeUnit: String? = null, nudgeUnit: String? = null, colorBy: String? = null, checkOverlap: Boolean? = null, seed: Int? = null, maxIter: Int? = null, maxTime: Double? = null, direction: String? = null, pointPadding: Number? = null, boxPadding: Number? = null, maxOverlaps: Int? = null, minSegmentLength: Number? = null, arrow: Map<String, Any>? = null, mapping: TextRepelMapping.() -> 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

Text rotation angle in degrees.

Link copied to clipboard
open override val arrow: Map<String, Any>? = null

Specification for arrow head, as created by arrow() function.

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

Padding around text labels to prevent overlap between labels.

Link copied to clipboard
open override val checkOverlap: Boolean? = null

Skips plotting text that overlaps previous text in the same layer.

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 direction: String? = null

Direction in which text labels can be moved.

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

Font family.

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

Font face.

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

horizontal text alignment relative to the x-coordinate.

Link copied to clipboard
val kind: GeomKind
Link copied to clipboard
open override val label: String? = null

Text label to display.

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

Specifies the format pattern for displaying mapped values.

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

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

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 maxIter: Int? = null

Maximum number of iterations used to resolve collisions.

Link copied to clipboard
open override val maxOverlaps: Int? = null

The maximum number of overlapping text labels allowed. Additional text labels will be hidden.

Link copied to clipboard
open override val maxTime: Double? = null

Maximum allowed time in seconds for resolving label collisions.

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

Minimum length of the line connecting the label to the point. Shorter segments will be omitted.

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

Text to show for missing values.

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

Units for x and y nudging. Possible values:

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

Horizontal adjustment to nudge labels by.

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

Vertical adjustment to nudge labels by.

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

Padding around data points to prevent overlap with text labels.

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

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

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

Width of the point border.

Link copied to clipboard
open override val seed: Int? = null

Random seed for reproducibility.

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

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

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

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

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

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

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

Shape of the point.

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

Font size.

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 vjust: Any? = null

vertical text alignment relative to the y-coordinate.

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.