Size::Center

Size::Center
inline Size<T> Center() const;
Description

Center determines the center of the current size. The following expression may be used to represent the result:

   (result.Width, result.Height) = (Width/2, Height/2)
Return Value

A new Size representing the center of the current size.

See Also