LilyPath icon indicating copy to clipboard operation
LilyPath copied to clipboard

GradientPen direction

Open RisingSunStudios opened this issue 6 years ago • 0 comments

Hi!

I'm trying to create a ribbon effect using the DrawArc that goes from solid colour to transparent. It appears that the GradientPen creates gradients along the width of the shape, but I'd like it to gradient along the length of the shape instead.

Is this possible? I tried changing line 52 in the GradientPen to use lengthPosition instead, but then I just get a solid colour.

Thanks!

RisingSunStudios avatar Apr 16 '19 18:04 RisingSunStudios