DrawLine(Int32,Single,Single,Single,Single,Single,Int32,Boolean) Method
Draws a line on a GdPicture image. The drawing color is specified with an integer value.
public GdPictureStatus DrawLine(
int ,
float ,
float ,
float ,
float ,
float ,
int ,
bool
)
public function DrawLine(
: Integer;
: Single;
: Single;
: Single;
: Single;
: Single;
: Integer;
: Boolean
): GdPictureStatus;
public function DrawLine(
: int,
: float,
: float,
: float,
: float,
: float,
: int,
: boolean
) : GdPictureStatus;
public: GdPictureStatus DrawLine(
int ,
float ,
float ,
float ,
float ,
float ,
int ,
bool
)
public:
GdPictureStatus DrawLine(
int ,
float ,
float ,
float ,
float ,
float ,
int ,
bool
)
'Declaration
Public Overloads Function DrawLine( _
ByVal As Integer, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Integer, _
ByVal As Boolean _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier.
- SrcLeft
- Specifies the x-coordinate of the starting point of the line.
- SrcTop
- Specifies the y-coordinate of the starting point of the line.
- DstLeft
- Specifies the x-coordinate of the ending point of the line.
- DstTop
- Specifies the y-coordinate of the ending point of the line.
- PenWidth
- The width, in pixel, of the pen used to draw the line.
- PenColor
- Color of the line. A suitable color value can be obtained by using the ARGBI() method.
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.