= setRectGradient =
== Syntax == :int setRectGradient(int left, int top, int right, int bottom, UINT color_TL, UINT color_BR, int horizontal) == Arguments == :left ::Left coordinate of the gradient box. :top ::Top coordinate of the gradient box. :right ::Right coordinate of the gradient box. :bottom ::Bottom coordinate of the gradient box. :color_TL ::Color to use for the top or left edge of the gradient. :color_BR ::Color to use for the bottom or right edge of the gradient. :horizontal ::Boolean value determining whether to draw a horizontal (TRUE) or vertical (FALSE) gradient. == Return == :Integer containing value TRUE if operation completed successfully, otherwise FALSE. == Description == :Draw a smooth gradient, either horizontal or vertical on the current ownerdraw or buffer canvas. == See Also == == Comments == :Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too. |