You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -721,6 +721,9 @@ The arrow mark supports the [standard mark options](#marks). The **stroke** defa
721
721
***bend** - the bend angle, in degrees; defaults to zero
722
722
***headAngle** - the arrowhead angle, in degrees; defaults to 22.5°
723
723
***headLength** - the arrowhead scale; defaults to 8
724
+
***insetEnd** - inset at the end of the arrow (useful if the arrow points to a dot)
725
+
***insetStart** - inset at the start of the arrow
726
+
***inset** - shorthand for the two insets
724
727
725
728
The **bend** option sets the angle between the straight line between the two points and the outgoing direction of the arrow from the start point. It must be within ±90°. A positive angle will produce a clockwise curve; a negative angle will produce a counterclockwise curve; zero will produce a straight line. The **headAngle** determines how pointy the arrowhead is; it is typically between 0° and 180°. The **headLength** determines the scale of the arrowhead relative to the stroke width. Assuming the default of stroke width 1.5px, the **headLength** is the length of the arrowhead’s side in pixels.
0 commit comments