/// <summary>
		/// </summary>
		/// <param name="imageBoundsParams"></param>
		/// <returns></returns>
		public Rectangle GetImageBounds(NuGenImageBoundsParams imageBoundsParams)
		{
			Image image = imageBoundsParams.Image;

			if (image != null)
			{
				return NuGenControlPaint.ImageBoundsFromContentAlignment(
					imageBoundsParams.Image.Size,
					imageBoundsParams.Bounds,
					imageBoundsParams.ImageAlign
				);
			}

			return Rectangle.Empty;
		}
        /// <summary>
        /// </summary>
        /// <param name="imageBoundsParams"></param>
        /// <returns></returns>
        public Rectangle GetImageBounds(NuGenImageBoundsParams imageBoundsParams)
        {
            Image image = imageBoundsParams.Image;

            if (image != null)
            {
                return(NuGenControlPaint.ImageBoundsFromContentAlignment(
                           imageBoundsParams.Image.Size,
                           imageBoundsParams.Bounds,
                           imageBoundsParams.ImageAlign
                           ));
            }

            return(Rectangle.Empty);
        }