RibbonModule.gradient2
From Jeremie Leroy - XOJO Controls Wiki
Method
RibbonModule.gradient2 ( g as graphics, startX as integer, startY as integer, width as integer, height as integer, startColor as color, endColor as color, Vertical As Boolean = True )
modified gradient code, original code: Seth Willits