...
background color: a color value, default is none. Specifies the background filling color. Default value is none (so black in a non transparent image).
clipping path: the name or the index of the wanted clipping path (the index is a number from 1 to n preceded by an octothorp (#)). Default is #1.
outside or inside: to fill the outside or inside of the clipping path. Default is true (so outside)
the colorization factor: a number between 1 and 100 (or a triplet of factors, one for each channel, (red, green or blue), three numbers separated by a comma), it allows you to define the blend between the fill color and the part of the image in the area to be filled. This factor only applies to a base color (not to gradients, patterns or blur). Default is 100 (so 100%, so no blending).
...
Code Block |
---|
{ "clip": "dodgerblue" } |
Flamingo: W2983×H3977 (two paths: Flamingo,Montagne) |
⬇
Flamingo: W2983×H3977 |
...
Code Block | ||
---|---|---|
| ||
{ "clip": { "background": "dodgerblue", "clippath":"#2" } |
Flamingo: W2983×H3977 (two paths: Flamingo,Montagne) |
⬇
Flamingo: W2983×H3977 |
...
Code Block | ||
---|---|---|
| ||
{ "clip": { "background": "$gradient:DarkBlue-Turquoise", "name":"Flamingo" } |
Flamingo: W2983×H3977 (two paths: Flamingo,Montagne) |
⬇
Flamingo: W2983×H3977 |
...
Code Block | ||
---|---|---|
| ||
{ "clip": { "background": "red", "colorize": 50 } |
Flamingo: W2983×H3977 (two paths: Flamingo,Montagne) |
⬇
Flamingo: W2983×H3977 |
...
Code Block | ||
---|---|---|
| ||
{ "clip": { "background": "blue", "colorize": 50, "outside": false } |
Flamingo: W2983×H3977 (two paths: Flamingo,Montagne) |
⬇
Flamingo: W2983×H3977 |
...