VintaSoft Imaging .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingEngine Class / DrawLineCap(DrawingLineCap,IDrawingPen,PointF,PointF) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    DrawLineCap(DrawingLineCap,IDrawingPen,PointF,PointF) Method (DrawingEngine)
    In This Topic
    Draws the line cap.
    Syntax
    'Declaration
    
    Protected Overridable Sub DrawLineCap( _
    ByVal lineCap
    The line cap.
    As DrawingLineCap, _
    ByVal pen
    The pen that determines the color, width, and style of the lines.
    As IDrawingPen, _
    ByVal p0
    The point that defines direction of the line cap.
    As System.Drawing.PointF, _
    ByVal location
    The System.Drawing.PointF structure that specifies the location of the line cap.
    As System.Drawing.PointF _
    )
    protected virtual void DrawLineCap(
    DrawingLineCap lineCap,
    IDrawingPen pen,
    System.Drawing.PointF p0,
    System.Drawing.PointF location
    )
    protected: virtual void DrawLineCap(
    DrawingLineCap* lineCap,
    IDrawingPen* pen,
    System.Drawing.PointF p0,
    System.Drawing.PointF location
    )
    protected:
    virtual void DrawLineCap(
    DrawingLineCap^ lineCap,
    IDrawingPen^ pen,
    System.Drawing.PointF p0,
    System.Drawing.PointF location
    )

    Parameters

    lineCap
    The line cap.
    pen
    The pen that determines the color, width, and style of the lines.
    p0
    The point that defines direction of the line cap.
    location
    The System.Drawing.PointF structure that specifies the location of the line cap.
    Exceptions
    ExceptionDescription
    Thrown if lineCap or pen is null.
    Requirements

    Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also