public SizeToBound ( |
||
bound | ||
return | void |
public void SizeToBound(Rectangle bound)
{
Center = bound.Center;
Radius = (float)Math.Sqrt(bound.Width * bound.Width + bound.Height * bound.Height) / 2;
}