Re: different color in path

2013-07-12 Thread Richard Bair
Usually questions of this kind are better answered on https://forums.oracle.com/community/developer/english/java/javafx/javafx_2.0_and_later (which I see just go a face-lift, looks great!). What you should do depends on what you need. Have you looked into the Canvas node? I agree trying to do t

Re: different color in path

2013-07-12 Thread Richard Bair
No, it is not possible. Each path is a single shape, and all shapes have a single fill / stroke / etc. You will need to use several paths and position them accordingly. Thanks Richard On Jul 13, 2013, at 12:38 AM, fajar wrote: > Is possible to setting different color for individually element

Re: different color in path

2013-07-12 Thread Gerrit Grunwald
afaik this is not possible. You might want to build the structure out of lines for that you could set the color separately on each line. But this will inly make sense with not too complex paths. Cheers, Gerrit Am 13.07.2013 um 09:38 schrieb fajar : > Is possible to setting different color fo

different color in path

2013-07-12 Thread fajar
Is possible to setting different color for individually element in path? for example: package test; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.scene.shape.ArcTo; import javafx.scene.shape