I have problems using a Line2D as a SGShape. It does not get painted. Anyone else having the same problems.
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...
Yes, that solve the problem. Thank you Jim.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.