Unicode Controls & Classes for VB6 - Version 4

clsGpSession.FadeColorsCoords Method

Draw a surface fading two colors

Syntax
Public Sub FadeColorsCoords (ByRef oGraphics As clsGpGraphics, _
ByVal X1 As Long, _
ByVal y1 As Long, _
ByVal X2 As Long, _
ByVal y2 As Long, _
ByVal cStart As Long, _
ByVal cStop As Long, _
ByVal mode As GpLinearGradientMode)
Parameters
Parameter Description
ByRef oGraphics As clsGpGraphics [clsGpGraphics] object to draw on
ByVal X1 As Long Specifies the x-coordinate of the rectangle's upper-left corner.
ByVal y1 As Long Specifies the y-coordinate of the rectangle's upper-left corner.
ByVal X2 As Long Specifies the x-coordinate of the rectangle's lower-right corner.
ByVal y2 As Long Specifies the y-coordinate of the rectangle's lower-right corner.
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