Code: Select all
[Example]
Meter=Shape
X=100
Y=100
Shape=Arc -50,0,50,0,40,40,0,0,0,0 | Fill LinearGradient MyGradient
MyGradient=180 | 52,168,83 ; 0.5 | 234,67,53 ; 1.0
Code: Select all
[Example]
Meter=Shape
X=100
Y=100
Shape=Arc -50,0,50,0,40,40,0,0,0,0 | Fill LinearGradient MyGradient
MyGradient=180 | 52,168,83 ; 0.5 | 234,67,53 ; 1.0
I think in order to use a gradient a shape has to be closed. Gradient can't be applied on open shapes. Yours is open, that's why the gradient isn't applied. Try to close it: Shape=Arc -50,0,50,0,40,40,0,0,0,[color=#FF0000]1[/color] | Fill LinearGradient MyGradientkyriakos876 wrote:doesn't create an Arc filled with the specified gradient, rather I only see a stroke with transparent fill... Is it not possible to have Linear/Radial gradients on arcs? I didn't see anything relevant mentioned here
Yea, closing the shape does it but not realy... I don't want to have the line that's created by closing the shape... it's just a line there floating in my shape... There isn't by any chance a way to make it the closing transparent now is it?balala wrote:I think in order to use a gradient a shape has to be closed. Gradient can't be applied on open shapes. Yours is open, that's why the gradient isn't applied. Try to close it: Shape=Arc -50,0,50,0,40,40,0,0,0,[color=#FF0000]1[/color] | Fill LinearGradient MyGradient
No, at least as far as I can tell, there isn't. Sorry...kyriakos876 wrote:There isn't by any chance a way to make it the closing transparent now is it?
Code: Select all
[Example]
Meter=Shape
X=100
Y=100
Shape=Arc -50,0,50,0,40,40,0,0,0,1 | Fill LinearGradient MyGradient | Stroke Color 0,0,0,0
MyGradient=180 | 52,168,83 ; 0.5 | 234,67,53 ; 1.0
Shape2=Arc -50,0,50,0,40,40,0,0,0,0
I also had a such idea, but didn't work. Or at least I couldn't make it to.jsmorley wrote:You would probably have to create a second arc, with a transparent stroke color, that is closed, and has the gradient.
balala wrote:I also had a such idea, but didn't work. Or at least I couldn't make it to.
Code: Select all
[Example]
Meter=Shape
X=100
Y=100
Shape=Arc -50,0,50,0,40,40,0,0,0,1 | Fill LinearGradient MyGradient | Stroke Color 0,0,0,0
MyGradient=180 | 52,168,83 ; 0.5 | 234,67,53 ; 1.0
Shape2=Arc -50,0,50,0,40,40,0,0,0,0