/// <summary> /// Positions a sprite relatively to the bottom-right corner of its parent. /// Values are pixels to move away from the parent. /// </summary> /// <param name="sprite"></param> /// <param name="pixelsFromBottom">Pixels from bottom - positive values places the sprite closer to the top</param> /// <param name="pixelsFromRight">Pixels from right - positive values places the sprite closer to the left</param> public static void pixelsFromBottomRight(this IPositionable sprite, int pixelsFromBottom, int pixelsFromRight) { sprite.pixelsFromBottomRight(pixelsFromBottom, pixelsFromRight, UIyAnchor.Bottom, UIxAnchor.Right); }