NevronOpenVision
Nevron.Nov.Graphics Namespace / NImageSource Class
Fields Properties Methods Events


In This Topic
    NImageSource Class Members
    In This Topic

    The following tables list the members exposed by NImageSource.

    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Protected FieldIf all pixels of the image have the same alpha value, the field stores the alpha value as a number in the range [0, 1]. If the alpha value varies accross pixels, the value must be -1. If not calculated yet, the value must be -2.  
    Protected FieldImage cache lock object.  
    Internal Fieldstatic (Shared in Visual Basic)  
    Internal Fieldstatic (Shared in Visual Basic)  
    Internal Fieldstatic (Shared in Visual Basic)  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the image natural bounds.  
    Public PropertyGets the exception that has been thrown during retrieval of image source data. Returns null if no exception has been thrown.  
    Public PropertyGets the number of frames in the image.  
    Public PropertyGets the height of this image source.  
    Public PropertyGets information about the current image data.  
    Public PropertyReturns true if the image source data can change during the lifetime of this image source.  
    Public PropertyGets the width of this image source.  
    Top
    Protected Properties
     NameDescription
    Internal Property  
    Top
    Public Methods
     NameDescription
    Public MethodCreates a raster for the frame at the given zero-based index.  
    Public MethodCreates a new raster from the native image data of this source.  
    Public MethodMust override to create a copy of the current object.  
    Public MethodMust override to deserialize the object state from the specified property bag.  
    Public MethodObtains encoded image data for this image source.  
    Public MethodCreates a new raster from the native image data of this source.  
    Public MethodMust override to serialize the object state into the specified property bag.  
    Public MethodDetermines whether all of the image's pixels have the same alpha value and obtains this alpha value.  
    Top
    Protected Methods
     NameDescription
    Protected MethodClears the image source's cached data.  
    Protected Method  
    Protected Internal MethodReturns image data that should be used for rendering of the image source's current frame. Encoded data is returned for encoded images sources with a single frame. Decoded data is returned for NRaster-based image sources and for encoded images sources with animated frames.  
    Protected Internal MethodGets an immutable image source that can be used as a hash table key for this image source. If this image source is immutable it can return itself as a key.  
    Protected Internal MethodGets the image source's image data in its native form.  
    Protected MethodClears cached data and raises the ImageDataChanged event.  
    Internal MethodOverloaded.   
    Internal Method  
    Internal Method  
    Internal Method  
    Protected MethodUpdates the cached data of this image source.  
    Internal Method  
    Top
    Public Events
     NameDescription
    Public EventOccurs when this image source has changed.  
    Top
    See Also