SVG in CSS
David Grieve
david.grieve at oracle.com
Mon Jan 27 13:36:55 PST 2014
Great idea. You should create an issue on javafx-jira.kenai.com.
On Jan 27, 2014, at 3:58 PM, Pedro Duque Vieira <pedro.duquevieira at gmail.com> wrote:
> Hi,
>
> I recall having a conversation with a javafx team member and him saying it
> wasn't possible to input an url of an svg image as the background-image of
> a Region.
>
> If that is the case, I think it would be beneficial to add this feature -
> set the background-image of a region to be an svg file. Right now the
> process is a bit cumbersome: you have to convert an svg file to the svg
> path notation and then insert it into the -fx-shape field. So every time
> you want to change an svg image you have to go through this process, plus
> the fact that you can't see what is the image in the -fx-shape field unless
> you have some super processor inside your brain that can process svg path
> notation :-)
>
> Also, it would be good if the svg file could be styled via css as you can
> now do with the svg path in the -fx-shape property.
>
> Thanks, regards,
>
> --
> Pedro Duque Vieira
More information about the openjfx-dev
mailing list