Jump to content

Color gradient inside a dxDrawRectangle


Recommended Posts

Posted

Hello!

First of all, my question is if it is possibble to make a color gradiented instead of a solid colored dx element, mainly a dx rectangle. If so, how I could achieve that? Like this:

687474703a2f2f6d656469612e7669726263646e

Thank you for your answer in advance!

Your signature image is too large.

Removed

Posted

I think it's only possible with more rectangles. You could use interpolateBetween to calculate the color.

  • Like 1

6C73yFv.png

Did I help you?

Mmpe7Jm.gif


NeXuS™#0001

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...