Hello Olivier,
I'm not sure why exactly but if you remove the moveTo lines and add
closePath() it works for me
PPath path = PPath.createLine(0, 0, 1, 8);
path.setPaint(Color.GREEN);
path.lineTo(7, 8);
path.lineTo(8, 0);
path.lineTo(0, 0);
path.closePath();
BasicStroke stroke = new BasicStroke(2);
path.setStroke(stroke);
path.setStrokePaint(Color.WHITE);
michael
> --
> You received this message because you are subscribed to the Google Groups
> "Piccolo2D Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
piccolo2d-use...@googlegroups.com.
> To post to this group, send email to
piccolo...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/piccolo2d-users.
> For more options, visit
https://groups.google.com/d/optout.