Dzsozi (h03) Posted May 1, 2017 Share Posted May 1, 2017 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: Thank you for your answer in advance! Link to comment
NeXuS™ Posted May 1, 2017 Share Posted May 1, 2017 I think it's only possible with more rectangles. You could use interpolateBetween to calculate the color. 1 Link to comment
pa3ck Posted May 5, 2017 Share Posted May 5, 2017 Just draw an image with dxDrawImage instead of dxDrawRectangle 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now