Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRaster Class
Fields Properties Methods


In This Topic
    NRaster Class Members
    In This Topic

    The following tables list the members exposed by NRaster.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public FieldThe default resolution of a raster (96 DPI).  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the raster height (in pixels).  
    Public PropertyGets a reference to the array that contains the raster's pixel data.  
    Public PropertyGets the raster's pixel format.  
    Public PropertyGets or sets the raster's resolution (in DPI).  
    Public PropertyGets the stride of the raster (number of bytes per raster row).  
    Public PropertyGets the raster width (in pixels).  
    Top
    Public Methods
     NameDescription
    Public MethodClears the raster by setting all pixels to the specified color.  
    Public MethodOverloaded. Returns a raster with the specified pixel format, using the current raster as a source.  
    Public MethodConverts the raster colors to grayscale.  
    Public MethodOverloaded. Copies the raster to the specified raster. Converts to the target raster pixel format if necessary  
    Public MethodCreates a new raster as a portion of the current raster.  
    Public MethodCreates a new raster with the same pixel data and properties as this one.  
    Public MethodDeserializes the raster.  
    Public MethodOverloaded. Encodes the raster to the specified image format.  
    Public MethodFills a rectangle in the raster with the specified color.  
    Public MethodCreates a new raster by flipping the current raster horizontally.  
    Public MethodCreates a new raster by flipping the current raster vertically.  
    Public MethodGets the color of the pixel at the specified coordinates.  
    Public MethodGets the offsets from the raster rim that are fully transparent.  
    Public MethodInverts the brighness of the raster  
    Public MethodInverts the colors of the raster pixels.  
    Public MethodDetermines whether the raster contains only one color.  
    Public Methodstatic (Shared in Visual Basic)Compares the given rasters pixel by pixel and returns whether they are considered equal obeying the specified tolerance and maximum number of pixels that may be different.  
    Public Methodstatic (Shared in Visual Basic)Paints a 2D scene into a newly created raster with the specified dimensions.  
    Public MethodOverloaded. Creates a new raster from this raster and resizes it to the given size.  
    Public MethodCreates a new raster by rotating the current raster at 90 degrees clockwise.  
    Public MethodCreates a new raster by rotating the current raster at 90 degrees counterclockwise.  
    Public MethodSerializes the raster  
    Public MethodSets the color of the pixel at the specified coordinates.  
    Public MethodAttempts to obtain an uniform alpha value from the raster pixels.  
    Top
    Protected Methods
     NameDescription
    Internal Methodstatic (Shared in Visual Basic)  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Top
    See Also