Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGraphics Class / PaintPath Method


In This Topic
    PaintPath Method (NGraphics)
    In This Topic
    Fills the interior of a GraphicsPath object with the specified fill style and then Draws the GraphicsPath object with the specified line style.
    Syntax
    'Declaration
     
    
    Public Sub PaintPath( _
       ByVal fillStyle As NFillStyle, _
       ByVal strokeStyle As NStrokeStyle, _
       ByVal path As System.Drawing.Drawing2D.GraphicsPath _
    ) 
    'Usage
     
    
    Dim instance As NGraphics
    Dim fillStyle As NFillStyle
    Dim strokeStyle As NStrokeStyle
    Dim path As System.Drawing.Drawing2D.GraphicsPath
     
    instance.PaintPath(fillStyle, strokeStyle, path)
    public void PaintPath( 
       NFillStyle fillStyle,
       NStrokeStyle strokeStyle,
       System.Drawing.Drawing2D.GraphicsPath path
    )

    Parameters

    fillStyle
    strokeStyle
    path
    Remarks
    You can pass null values to the fillStyle and strokeStyle parameters. When the fillStyle is null the path is not filled. When the strokeStyle is null the path does not have a border.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also