Aurigma Graphics Mill 5.5 for .NET
AviFrame..::.Transition Property
Gets/sets the transition effect calculator.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
Syntax
Visual Basic
Public Property Transition As AviTransition
C#
public AviTransition Transition { get; set; }
Property Value
A class derived from AviTransition which implements transition functionality.Remarks
AVI Processor has two standard transition effect calculation classes (AviAlphaTransition and AviStripesTransition). If you want to create a custom transition effect, you can use the AviCustomTransition class. You can do it in two ways:
- Add DrawTransition event handler.
- Write a descendant class of AviCustomTransition and override the OnDrawTransition(Bitmap, Bitmap, Bitmap, Int32, Int32) method.
Both of them take the same arguments, among which there are two "key" frames (bitmaps) and a total number of intermediate frames. The implementations will also be similar.
If you want to stop applying effects when adding frames, set this property to null. Another way to do it is to set the IntermediateFrameCount property to 0. The difference between these two approaches is that in the latter case frames will be displayed one after another without any delay.