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.5 (1.0.0.5)
Syntax public List<Sprite> SpritesInImageRectangle(
Rectangle Location
)
Parameters
- Location
- Type: System.DrawingRectangle
The rectangle on the image we are trying to find
Return Value
Type:
ListSpriteA list of the sprites that have any portion of it inside the rectangle
See Also