Unicode Controls & Classes for VB6 - Version 4

clsGpSession.DrawRect Method

Draws a rectangle at specified coords

Public Sub DrawRect (ByRef oGraphics As clsGpGraphics, _
ByRef r As RECT, _
ByVal lColor As Long, _
ByVal bFilled As Boolean, _
Optional ByVal lColorAlpha As Integer = 255)
Parameter Description
ByRef oGraphics As clsGpGraphics [clsGpGraphics] object to draw on
ByRef r As RECT Draw coordinates
ByVal lColor As Long Line color (standard RGB color)
ByVal bFilled As Boolean Is the rectangle filled?
Optional ByVal lColorAlpha As Integer = 255 Transparency of color