'LinKin Posted October 18, 2015 Share Posted October 18, 2015 Hello, How can I draw a rectangle like this? Do I need to make 2 rectangles (one darker than the other) and then use dxDrawLine to create the bordered effect? Isn't there an option "border" to dxDrawRectangle? Regards, Linkin. Link to comment
t3wz Posted October 18, 2015 Share Posted October 18, 2015 Yeah, you'll need two rectangles, About the borders you can use the function made by Dealman (here is the topic about it). Link to comment
bebo1king Posted October 19, 2015 Share Posted October 19, 2015 ‘LinKin said: Hello,How can I draw a rectangle like this? Do I need to make 2 rectangles (one darker than the other) and then use dxDrawLine to create the bordered effect? Isn't there an option "border" to dxDrawRectangle? Regards, Linkin. put 2 rectangles in each other and it will gone be darker + put them same color to be so Link to comment
ozulus Posted October 19, 2015 Share Posted October 19, 2015 Use this function to create border effect, it will be easier for you. https://wiki.multitheftauto.com/wiki/Dx ... dRectangle 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