canvas - Drawing a Region with CSS -fx-shape. How it is possible? -


i'm looking way draw shapes in region (javafx8)

i've seen examples set region style this:

-fx-shape            : "m 3.0313 0 l 0 74 l 7.9688 74 l 4.9375 0 l 3.0313 0 z"; 

can give explanation of meaning of string?

is there way create type of string using visual software?

the shape string svg path.

note shape string region shape of region, not shape in region. if want create shapes based on paths put in region, use svgpath , not region.

you can use svg editor create svg paths.

recommending particular svg editors off topic stackoverflow, try google , may find inkscape (and it's option path | object path).


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -