Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonRasterizer Class / Rasterize Method


In This Topic
    Rasterize Method
    In This Topic
    Rasterizes the given polygon with the specified X and Y step and returns a monochrome raster (i.e. a raster with true/false pixel values) as a result.
    Syntax
    'Declaration
     
    
    Public Function Rasterize( _
       ByVal polygon As NPolygonF, _
       ByVal stepX As System.Single, _
       ByVal stepY As System.Single _
    ) As NMonochromeRaster
    'Usage
     
    
    Dim instance As NPolygonRasterizer
    Dim polygon As NPolygonF
    Dim stepX As System.Single
    Dim stepY As System.Single
    Dim value As NMonochromeRaster
     
    value = instance.Rasterize(polygon, stepX, stepY)
    public NMonochromeRaster Rasterize( 
       NPolygonF polygon,
       System.float stepX,
       System.float stepY
    )

    Parameters

    polygon
    stepX
    stepY
    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