Click or drag to resize
Sprite Constructor (SpriteController, Image, Int32, Int32, Int32)
Generate a new sprite. It takes a width, height, and the duration in Milliseconds for each frame

Namespace:  SpriteLibrary
Assembly:  SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.5 (1.0.0.5)
Syntax
C#
public Sprite(
	SpriteController Controller,
	Image SpriteImage,
	int width,
	int height,
	int durationInMilliseconds
)

Parameters

Controller
Type: SpriteLibrarySpriteController
The sprite controller
SpriteImage
Type: System.DrawingImage
The image we pull the animations from
width
Type: SystemInt32
The width of one animation frame
height
Type: SystemInt32
the height of one animation frame
durationInMilliseconds
Type: SystemInt32
The number of milliseconds each frame is shown for as it animates.
See Also