Dashed line
#2237
Replies: 1 comment 2 replies
-
I usually use the For example: const dottedLinePath = Skia.Path.Make();
dottedLinePath.moveTo(xPos, dottedKeyYPosition);
dottedLinePath.lineTo(xPos, lastKeyYPosition);
dottedLinePath.dash(6, 8, 0); Then load it with <Path
path={ dottedLinePath }
color={ connectingLineColor }
style="stroke"
strokeJoin="round"
strokeWidth={connectingLineWidth}
(...)
/> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
@wcandillon, @kimchouard :
How can I create a dashed lines like the one in the figure, without using Path and DashPathEffect.
Beta Was this translation helpful? Give feedback.
All reactions