Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NFillInfo Class / CreateBrush Method
The rect where the painting will occur.
The rounding to be used. Specify 0 if no rounding is needed.
The edges to be rounded.


In This Topic
    CreateBrush Method
    In This Topic
    Creates a Brush object depending on the current settings.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateBrush( _
       ByVal bounds As System.Drawing.Rectangle, _
       ByVal rounding As System.Integer, _
       ByVal edges As RoundingEdges _
    ) As System.Drawing.Brush
    'Usage
     
    
    Dim instance As NFillInfo
    Dim bounds As System.Drawing.Rectangle
    Dim rounding As System.Integer
    Dim edges As RoundingEdges
    Dim value As System.Drawing.Brush
     
    value = instance.CreateBrush(bounds, rounding, edges)
    public virtual System.Drawing.Brush CreateBrush( 
       System.Drawing.Rectangle bounds,
       System.int rounding,
       RoundingEdges edges
    )

    Parameters

    bounds
    The rect where the painting will occur.
    rounding
    The rounding to be used. Specify 0 if no rounding is needed.
    edges
    The edges to be rounded.
    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