ob_segment class
Usage
ob_segment(
p1 = class_missing,
p2 = class_missing,
label = class_missing,
alpha = class_missing,
arrow_head = ggarrow::arrow_head_minimal(90),
arrow_fins = class_missing,
arrowhead_length = 4,
length_head = class_missing,
length_fins = class_missing,
color = class_missing,
lineend = class_missing,
linejoin = class_missing,
linewidth = class_missing,
linewidth_fins = class_missing,
linewidth_head = class_missing,
linetype = class_missing,
resect = class_missing,
resect_fins = class_missing,
resect_head = class_missing,
stroke_color = class_missing,
stroke_width = class_missing,
style = class_missing,
x = class_missing,
xend = class_missing,
y = class_missing,
yend = class_missing,
...
)
Arguments
- p1
starting point
- p2
end point
- label
A character, angle, or label object
- alpha
numeric value for alpha transparency
- arrow_head
A 2-column matrix of polygon points
- arrow_fins
A 2-column matrix of polygon points
- arrowhead_length
Determines the size of the arrow ornaments. This parameter becomes the
length
parameter in ggarrow functions. Numeric values set the ornament size relative to the linewidth. A unit value sets the ornament size in an absolute manner.- length_head
Determines the size of the arrow head. Numeric values set the ornament size relative to the linewidth. A unit value sets the ornament size in an absolute manner. From ggarrow.
- length_fins
Determines the size of the arrow fins. Numeric values set the ornament size relative to the linewidth. A unit value sets the ornament size in an absolute manner. From ggarrow.
- color
character string for color
- lineend
Line end style (round, butt, square).
- linejoin
Line join style (round, mitre, bevel).
- linewidth
Width of lines
- linewidth_fins
Line width for arrow fins
- linewidth_head
Line width for arrow fins
- linetype
type of lines
- resect
A numeric(1) denoting millimeters or
to shorten the arrow head and fins. - resect_fins
A numeric(1) denoting millimeters or
to shorten the arrow fins - resect_head
A numeric(1) denoting millimeters or
to shorten the arrow head. - stroke_color
Color of point border line
- stroke_width
Stroke width in arrows
- style
a style list
- x
overrides the x-coordinate of p1
- xend
overrides the y-coordinate of p1
- y
overrides the x-coordinate of p2
- yend
overrides the y-coordinate of p2
- ...
<
dynamic-dots
> properties passed to style