This is the overview for the PointFromPixel method overload.
|
Name |
Description |
![]() |
Converts a pixel point on the sprite's image to the point on the sprite's surface that represents where that pixel is. For example if a 200x100 pixel image was assigned to a sprite of size 10x10, then calling this method with a pixel value of 100,50 (center of the image) would return 5,5 (center of the sprite). | |
![]() |
Converts a pixel point on the sprite's image to the point on the sprite's surface that represents where that pixel is. For example if a 200x100 pixel image was assigned to a sprite of size 10x10, then calling this method with a pixel value of 100,50 (center of the image) would return 5,5 (center of the sprite). |
Copyright (c) 2012. All rights reserved.
|