Size::Size

Size::Size
inline Size();
inline explicit Size(T val);
inline Size(T width, T height);
inline Size(const Size<T> & sz);
inline Size(BoundsType bt);
Description

Size constructors. The following expression may be used to represent the result:

   Size([val, width, sz.Width], [val, height, sz.Height])
Parameters
Parameters 
Description 
T val 
A value that sets both Width and Height
T width 
A value that sets Width
T height 
A value that sets Height
const Size<T> & sz 
A size whose components set those of the constructed size. 
BoundsType bt 
An enum value that initializes the size to either the Min or Max size value. If the passed value is Min, (Height, Width) are set to (0, 0).