Unicode Controls & Classes for VB6 - Version 4

clsGpCustomLineCap.CreateLineCap Function

Creates a GDI+ CustomLineCap object.

Syntax
Public Function CreateLineCap (Optional ByRef FillPath As clsGpPath = Nothing, _
Optional ByRef StrokePath As clsGpPath = Nothing, _
Optional ByVal BaseCap As GpLineCap = LineCapFlat, _
Optional ByVal BaseInset As Single = 0#) As GpStatus
Parameters
Parameter Description
Optional ByRef FillPath As clsGpPath = Nothing A path used to fill the line cap
Optional ByRef StrokePath As clsGpPath = Nothing A path used to stroke the line cap
Optional ByVal BaseCap As GpLineCap = LineCapFlat A basecap shape
Optional ByVal BaseInset As Single = 0# Insert value
Remarks
The fillPath and strokePath parameters cannot be used at the same time. You should pass Nothing to one of those two parameters.
If you pass nonnull values to both parameters, then fillPath is ignored.