Unicode Controls & Classes for VB6 - Version 4

clsGpBrush.CreateLinearBrushFromRectWithAngle_RawColor Function

Creates an angled linear brush

Syntax
Public Function CreateLinearBrushFromRectWithAngle_RawColor (ByVal Left As Long, _
ByVal Top As Long, _
ByVal Width As Long, _
ByVal Height As Long, _
ByVal ARGB1 As Long, _
ByVal ARGB2 As Long, _
Optional ByVal WrapMd As GpWrapMode = WrapModeTile, _
Optional ByVal Angle As Single = 0, _
Optional ByVal isAngleScalable As Boolean = True) As GpStatus
Parameters
Parameter Description
ByVal Left As Long The left coordinate
ByVal Top As Long The top coordinate
ByVal Width As Long The width
ByVal Height As Long The height
ByVal ARGB1 As Long The first color in ARGB format (use the [clsGpSession] class for conversion functions)
ByVal ARGB2 As Long The second color in ARGB format (use the [clsGpSession] class for conversion functions)
Optional ByVal WrapMd As GpWrapMode = WrapModeTile The wrap method
Optional ByVal Angle As Single = 0 The angle value
Optional ByVal isAngleScalable As Boolean = True Is the angle scalable?
Remarks