Nevron Open Vision Documentation
NEncodedImageSource Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NEncodedImageSource.

Protected Fields
 NameDescription
Protected Fieldm_fUniformAlphaIf 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. (Inherited from Nevron.Nov.Graphics.NImageSource)
Protected Fieldm_ImageCacheLock (Inherited from Nevron.Nov.Graphics.NImageSource)
Top
Public Properties
 NameDescription
Public PropertyAnimateFramesGets/Sets a value indicating whether the image source's frames should be animated. Setting this property to true will start animation and setting it to false, stops the animation.  
Public PropertyBoundsGets the image natural bounds (Inherited from Nevron.Nov.Graphics.NImageSource)
Public PropertyDataExceptionGets the exception that has been thrown during retrieval of image source data. Returns null if no exception has been thrown. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public PropertyFrameIndexGets/Sets the index of the current frame.  
Public PropertyHeightGets the height of this image source. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public PropertyImageFormatGets the image format of the encoded image.  
Public PropertyImageInfoGets information about the current image data. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public PropertyIsAnimatingGets whether the image source is currently being animated.  
Public PropertyIsMutableOverridden. Returns true if the image source data can change during the lifetime of this image source  
Public PropertyLoopCountGet/Sets the number of times to loop the animation of a multi-frame image. A value of 0 indicates infinite looping.  
Public PropertyWidthGets the width of this image source. (Inherited from Nevron.Nov.Graphics.NImageSource)
Top
Public Methods
 NameDescription
Public MethodCopyAnimationPropertiesCopies all properties related to animation from the given image source to this image source.  
Public MethodCreateRasterCreates a new raster from the native image data of this source. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public MethodDeepCloneMust override to create a copy of the current object. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public MethodDeserializeOverridden. Deserializes the object state from the specified property bag.  
Public MethodGetEncodedDataObtains encoded image data for this image source. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public MethodPlayMetafileCachedGets a (Inherited from Nevron.Nov.Graphics.NImageSource)
Public MethodSafeCreateRasterCreates a new raster from the native image data of this source. (Inherited from Nevron.Nov.Graphics.NImageSource)
Public MethodSerializeOverridden. Serializes the object state into the specified property bag.  
Public MethodTryGetUniformAlphaDetermines whether all of the image's pixels have the same alpha value and obtains this alpha value. (Inherited from Nevron.Nov.Graphics.NImageSource)
Top
Protected Methods
 NameDescription
Protected MethodClearCachedInfoOverridden. Clears the image source's cached data.  
Protected MethodGetDescriptionPairsOverridden. Get description pairs.  
Protected MethodOnImageDataChangedClears cached data and raises the ImageDataChanged event. (Inherited from Nevron.Nov.Graphics.NImageSource)
Protected MethodUpdateImageInfoOverridden. Updates the image format and the image info of this image source.  
Top
Public Events
 NameDescription
Public EventChangedOccurs when this image source has changed. (Inherited from Nevron.Nov.Graphics.NImageSource)
Top
See Also

Reference

NEncodedImageSource Class
Nevron.Nov.Graphics Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback