Skip to content

Draw line using a gradient color #163

Description

@dragosslujeru

Hello,

I am using draw2d to draw some graphics using go and it's going great. Thank you for the library!
I have a usecase where I would need the line I am drawing to use a gradient color instead of a solid color. As an example the line could start green and end red.
Can this be done? I've been looking around for a way to achieve this but so far I have come up short.
Thank you in advance for any answer.

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