calculateLabelHeightsAndWidths: Calculate the heights and widths of the labels in the current...

Description Usage Arguments Value

View source: R/addNonOverlappingTestLabelsOrPoints.R

Description

Function used by addTextLabels()

Usage

1
calculateLabelHeightsAndWidths(pointInfo, cex, heightPad, widthPad)

Arguments

pointInfo

A list storing the coordinates and labels of input points

cex

The number used to scale the size of the label and therefore its height and width

heightPad

Multiplyer for label height should added to label to be used to pad height

widthPad

Multiplyer for label width should added to label to be used to pad width

Value

Returns a list storing the coordinates, labels, and the heights and widths of the labels, for input points


JosephCrispell/plotteR documentation built on June 6, 2021, 7:24 p.m.