Skip to content

GradientPen direction #14

Description

@RisingSunStudios

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions