Unicode Controls & Classes for VB6 - Version 4

clsGpSession.FadeColors Method

Draw a surface fading two colors

Syntax
Public Sub FadeColors (ByRef oGraphics As clsGpGraphics, _
ByRef r As RECT, _
ByVal cStart As Long, _
ByVal cStop As Long, _
ByVal mode As GpLinearGradientMode)
Parameters
Parameter Description
ByRef oGraphics As clsGpGraphics [clsGpGraphics] object to draw on
ByRef r As RECT Draw coordinates
ByVal cStart As Long Start Color (standard RGB color)
ByVal cStop As Long End Color (standard RGB color)
ByVal mode As GpLinearGradientMode Gradient mode
Remarks