Skip to contents

Triangle polygons used in path diagrams.

Usage

ob_intercept(
  center = ob_point(0, 0),
  width = 1,
  label = class_missing,
  top = class_missing,
  left = class_missing,
  right = class_missing,
  vertex_radius = class_missing,
  alpha = class_missing,
  color = class_missing,
  fill = class_missing,
  linewidth = class_missing,
  linetype = class_missing,
  x0 = class_missing,
  y0 = class_missing,
  style = class_missing,
  ...
)

Arguments

center

point at center

width

length of side

label

A character, angle, or label object

top

Top vertex of triangle

left

Left vertex of triangle

right

Right vertex of triangle

vertex_radius

A numeric or unit vector of length one, specifying the vertex radius

alpha

numeric value for alpha transparency

color

character string for color

fill

character string for fill color

linewidth

Width of lines

linetype

type of lines

x0

overrides x-coordinate in center@x

y0

overrides x-coordinate in center@y

style

Gets and sets the styles associated with polygons

...

<dynamic-dots> properties passed to style

Slots

length

The number of polygons in the ob_polygon object

tibble

Gets a tibble (data.frame) containing parameters and styles used by ggplot2::geom_polygon.