Skip to main content

Line2D as SGShape

2 replies [Last post]
jantaubert
Offline
Joined: 2007-12-12
Points: 0

I have problems using a Line2D as a SGShape. It does not get painted. Anyone else having the same problems.

Thanks,
Jan

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
flar
Offline
Joined: 2003-06-11
Points: 0

Hi Jan,

A small test case would help to diagnose problems like this.

Off the top of my head, the only issue I can think of is whether you are setting the mode to STROKE or STROKE_FILL? The default mode is FILL which doesn't do anything for shapes which do not enclose any area...

...jim

jantaubert
Offline
Joined: 2007-12-12
Points: 0

Yes, that solve the problem. Thank you Jim.