Click or drag to resize

SpriteControllerSpritesInImageRectangle Method

Return a list of all the sprites that intersect with the given background-image-based rectangle

Namespace:  SpriteLibrary
Assembly:  SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax
C#
public List<Sprite> SpritesInImageRectangle(
	Rectangle Location
)

Parameters

Location
Type: System.DrawingRectangle
The rectangle on the image we are trying to find

Return Value

Type: ListSprite
A list of the sprites that have any portion of it inside the rectangle
See Also