Creates a new animation of the specified parameters.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XSimpleSpriteAnimator AddAnimation( Bitmap bitmap ) |
Parameters
- bitmap
- Type: System.Drawing..::.Bitmap
Image from which the animation will be created.
Return Value
Returns the created XSimpleSpriteAnimator animation.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | bitmap is nullNothingnullptra null reference (Nothing in Visual Basic). |