Is there an easy way to drawrect and change its vertex colours so that blends its colour from one edge to the next?
I basically want to create a gradient of colour. Thanks!
I basically want to create a gradient of colour. Thanks!
Graphics 800 , 600 color1 = $ffff0000 color2 = $ff00ff00 color3 = $ff0000ff color4 = $ffff00ff D3D7Max2DDriver().vrts[3] = color1 D3D7Max2DDriver().vrts[7] = color2 D3D7Max2DDriver().vrts[11] = color3 D3D7Max2DDriver().vrts[15] = color4 DrawRect 0 , 0 , 100 , 100 Flip WaitKey()