BracketAesthetics

interface BracketAesthetics : OptionsCapsule

Aesthetic properties supported by geomBracket().

Parameters

xmin

Left end of the bracket for horizontal brackets.

xmax

Right end of the bracket for horizontal brackets.

y

Y-axis coordinate for horizontal brackets.

ymin

Lower end of the bracket for vertical brackets.

ymax

Upper end of the bracket for vertical brackets.

x

X-axis coordinate for vertical brackets.

lenstart

Length of the tip at the bracket start (at xmin for horizontal brackets, or ymin for vertical brackets).

lenend

Length of the tip at the bracket end (at xmax for horizontal brackets, or ymax for vertical brackets).

label

Text to add.

size

Font size.

linetype

Type of the bracket line. Accept codes or names (0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash"), a hex string (up to 8 digits for dash-gap lengths), or a pattern offset to listOf(dash, gap, ...) / listOf(dash, gap, ...). For more info see: aesthetics.html#line-types.

color

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

alpha

Transparency level of a layer. Accept values between 0 and 1.

family

Font family. For more info see: aesthetics.html#text.

fontface

Font style and weight. For more info see: aesthetics.html#text.

hjust

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).

vjust

Vertical text alignment relative to the y-coordinate. Accept either a numeric value or one of: "bottom", "center", or "top". The numeric values 0, 0.5 (default), and 1 correspond to "bottom", "center", and "top", respectively. There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).

angle

Text rotation angle in degrees.

lineheight

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

segmentColor

Color of the bracket line (the segments forming the bracket). For more info see: aesthetics.html#color-and-fill.

segmentSize

Width of the bracket line (the segments forming the bracket).

segmentAlpha

Transparency level of the bracket line. Accept values between 0 and 1.

Inheritors

Properties

Link copied to clipboard
abstract val alpha: Any?
Link copied to clipboard
abstract val angle: Any?
Link copied to clipboard
abstract val color: Any?
Link copied to clipboard
abstract val family: Any?
Link copied to clipboard
abstract val fontface: Any?
Link copied to clipboard
abstract val hjust: Any?
Link copied to clipboard
abstract val label: Any?
Link copied to clipboard
abstract val lenend: Any?
Link copied to clipboard
abstract val lenstart: Any?
Link copied to clipboard
abstract val lineheight: Any?
Link copied to clipboard
abstract val linetype: Any?
Link copied to clipboard
abstract val segmentAlpha: Any?
Link copied to clipboard
abstract val segmentColor: Any?
Link copied to clipboard
abstract val segmentSize: Any?
Link copied to clipboard
abstract val size: Any?
Link copied to clipboard
abstract val vjust: Any?
Link copied to clipboard
abstract val x: Any?
Link copied to clipboard
abstract val xmax: Any?
Link copied to clipboard
abstract val xmin: Any?
Link copied to clipboard
abstract val y: Any?
Link copied to clipboard
abstract val ymax: Any?
Link copied to clipboard
abstract val ymin: Any?