Unicode Controls & Classes for VB6 - Version 4

clsGpGraphics.DrawFillRRectI Function

Draws a round rectangle with the specified curve size

Syntax
Public Function DrawFillRRectI (ByVal x As Long, _
ByVal y As Long, _
ByVal Width As Long, _
ByVal Height As Long, _
Optional ByRef oOptPen As clsGpPen = Nothing, _
Optional ByRef oOptBrush As clsGpBrush = Nothing, _
Optional ByVal CurveSize As Integer = 0) As GpStatus
Parameters
Parameter Description
ByVal x As Long The Left coordinate
ByVal y As Long The top coordinate
ByVal Width As Long The width
ByVal Height As Long The height
Optional ByRef oOptPen As clsGpPen = Nothing The pen to use (pass Nothing for only filling the rectangle)
Optional ByRef oOptBrush As clsGpBrush = Nothing The brush to use (pass Nothing for only stroking the rectangle)
Optional ByVal CurveSize As Integer = 0 The curve size
Remarks