public Rectangle2D getScaled(float factor)
{
float ScaledHalfWidth = factor * (Width / 2.0f);
float ScaledHalfHeight = factor * (Height / 2.0f);
return new Rectangle2D(Center.X - ScaledHalfWidth, Center.Y - ScaledHalfHeight, 2 * ScaledHalfWidth, 2 * ScaledHalfHeight);
}