|
Draws a line at specified coords
Syntax
Public Sub DrawLineCoords (ByRef oGraphics As clsGpGraphics, _ ByVal X1 As Long, _ ByVal y1 As Long, _ ByVal X2 As Long, _ ByVal y2 As Long, _ ByVal lLineColor As Long, _ Optional ByVal iLineWidth As Integer = 1, _ Optional ByVal iDashStyle As GpDashStyle = DashStyleSolid, _ Optional ByVal iLineCap As GpLineCap = LineCapRound, _ Optional ByVal iLineAlpha As Byte = 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 lLineColor As Long |
Line color (standard RGB color) |
Optional ByVal iLineWidth As Integer = 1 |
Line width |
Optional ByVal iDashStyle As GpDashStyle = DashStyleSolid |
Dash style |
Optional ByVal iLineCap As GpLineCap = LineCapRound |
Line Cap |
Optional ByVal iLineAlpha As Byte = 255 |
Line alpha |
|