Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Pen Properties in Polygraph: Dash
Reply to topic
Author Message
Marius



Joined: Jun 10, 2013
Posts: 51

PostPosted: Jun 24, 2013 7:51 PM    Post subject: Pen Properties in Polygraph: Dash

Hi Jarek,

I found that in principle it is possible to draw dashed lines in BioEra.
Pen properties has among others the field \"dash\".
Prolonged googling revealed that some array should be entered there,
[25.0, 20.0, 5.0, 20.0]
as an example.

This leads indeed to a dashed line in Polygraph.
But the line becomes only dashed for very sudden vertical movement, while normal shapes of the curve remain undashed, no matter how I scale the array content.

I guess this is some kind of bug, although its hard to tell what is wrong.
I'm sending you a screenshot as proof and the little recording used to make the screenshot.

Marius
jarek



Joined: Oct 22, 2007
Posts: 1073

PostPosted: Jun 24, 2013 10:19 PM    Post subject:

I am not able to improve that. This is a java limitation or a bug. BioEra uses BasicStroke class to implement the Pen Properties. More information about BasicStroke can be found here:

http://docs.oracle.com/javase/6/docs/api/java/awt/BasicStroke.html
Reply to topic