Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRaster Class / FillRect Method
The color to fill with.
The rectangle to be filled.


In This Topic
    FillRect Method
    In This Topic
    Fills a rectangle in the raster with the specified color.
    Syntax
    'Declaration
     
    
    Public Sub FillRect( _
       ByVal color As NColor, _
       ByVal rect As NRectangleI _
    ) 
    'Usage
     
    
    Dim instance As NRaster
    Dim color As NColor
    Dim rect As NRectangleI
     
    instance.FillRect(color, rect)
    public void FillRect( 
       NColor color,
       NRectangleI rect
    )

    Parameters

    color
    The color to fill with.
    rect
    The rectangle to be filled.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also