Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an arrow on the line #11

Open
MichelleCLiao opened this issue Jan 13, 2020 · 1 comment
Open

Add an arrow on the line #11

MichelleCLiao opened this issue Jan 13, 2020 · 1 comment

Comments

@MichelleCLiao
Copy link

How to add an arrow on the line?
I'm having a issue that I would like to paint a line in between of two path() objects and add an arrow at the end of the line indicates that one object points to the other. But I find no where on the manual script telling how to add the arrow. Can anybody help me on this?
Thanks in advance!

@Shestac92
Copy link

@MichelleCLiao
The GraphicsJS provides only some primitives to help to implement drawing functions, but many special signs, symbols, etc should be implemented manually using these primitives or paths.
So, the arrow of any rotation angle can be implemented manually by a path with fill.
For horizontal or vertical arrow you can use triangle primitives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants