Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.5K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

CapForm and arrows

Dear All,

I'm trying to get an arrow with the non-arrow side to be rounded. According to the help CapForm should work on Arrow. However this does not work in 10.4:

Graphics[{CapForm["Round"], Thickness[0.2], Line[{{-1, -1}, {1, 1}}]}]
Graphics[{CapForm["Round"], Thickness[0.2], Arrow[{{-1, -1}, {1, 1}}]}]

How to resolve this?

POSTED BY: Sander Huisman
2 Replies

This is a long standing issue. Since Arrow isn't made up of primitives, I don't think there's a solution other than to create your own arrow-like expression which can use CapForm.

POSTED BY: Sean Clarke

Thanks for confirming!

The question is then, why does it say so in the manual page of CapForm? The JoinForm does seem to work, but this might be handled differently...

I now draw a line and a tiny arrow at the very end. which kinda works....

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard