Unicode Controls & Classes for VB6 - Version 4

clsGpSession.DrawRectCoords Method

Draws a rectangle at specified coords

Syntax
Public Sub DrawRectCoords (ByRef oGraphics As clsGpGraphics, _
ByVal X1 As Long, _
ByVal y1 As Long, _
ByVal X2 As Long, _
ByVal y2 As Long, _
ByVal lColor As Long, _
ByVal bFilled As Boolean, _
Optional ByVal lColorAlpha As Integer = 255)
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 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
Remarks