LabelAesthetics

interface LabelAesthetics : OptionsCapsule

Aesthetic properties supported by geomLabel().

Inheritors

Properties

Link copied to clipboard
abstract val alpha: Any?

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

Link copied to clipboard
abstract val angle: Any?

Label rotation angle in degrees.

Link copied to clipboard
abstract val color: Any?

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

Link copied to clipboard
abstract val family: Any?

default = "sans". For more info see: aesthetics.html#font-family.

Link copied to clipboard
abstract val fill: Any?

Background color of the label. For more info see: aesthetics.html#color-and-fill.

Link copied to clipboard
abstract val fontface: Any?

default = "plain". For more info see: aesthetics.html#font-face.

Link copied to clipboard
abstract val hjust: Any?

horizontal text alignment relative to the x-coordinate. Possible values: 0 or "left" - left-aligned (text starts at x), 0.5 or "middle" (default) - text is centered on x, 1 or "right" - right-aligned (text ends at x). There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).

Link copied to clipboard
abstract val label: Any?

Text to add to plot.

Link copied to clipboard
abstract val lineheight: Any?

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

Link copied to clipboard
abstract val size: Any?

Font size.

Link copied to clipboard
abstract val vjust: Any?

vertical text alignment relative to the y-coordinate. Possible values: 0 or "bottom" - bottom-aligned (bottom of text at y), 0.5 or "center" (default) - middle of text at y, 1 or "top" - top-aligned (top of text at y). There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).

Link copied to clipboard
abstract val x: Any?

X-axis value.

Link copied to clipboard
abstract val y: Any?

Y-axis value.