Unicode Controls & Classes for VB6 - Version 4

clsGpBrush.CreateLinearBrushFromRectWithAngle_Color Function

Creates an angled linear brush

Syntax
Public Function CreateLinearBrushFromRectWithAngle_Color (ByVal Left As Long, _
ByVal Top As Long, _
ByVal Width As Long, _
ByVal Height As Long, _
ByVal GpColor1 As clsGpColor, _
ByVal GpColor2 As clsGpColor, _
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 GpColor1 As clsGpColor The first color
ByVal GpColor2 As clsGpColor The second color
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