Click or drag to resize
SpriteControllerDuplicateSprite Method (Sprite)
Make a duplicate of the specified sprite. The duplicate does not yet have a location.

Namespace:  SpriteLibrary
Assembly:  SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.5 (1.0.0.5)
Syntax
C#
public Sprite DuplicateSprite(
	Sprite What
)

Parameters

What
Type: SpriteLibrarySprite
The sprite to duplicate

Return Value

Type: Sprite
A new sprite. If What is null, returns null
See Also