Size Constructor
Size(Size)
Initializes a new instance of the Size class
from the specified
existing Size.
Declaration
Parameters
Type |
Name |
Description |
Size |
size |
|
Size(Point)
Initializes a new instance of the Size class
from the specified
Point.
Declaration
Parameters
Type |
Name |
Description |
Point |
pt |
|
Size(Vector2)
Initializes a new instance of the Size struct
from the specified
System.Numerics.Vector2.
Declaration
public Size(Vector2 vector)
Parameters
Type |
Name |
Description |
System.Numerics.Vector2 |
vector |
|
Size(Double, Double)
Initializes a new instance of the Size class
from the specified dimensions.
Declaration
public Size(double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
Size(Double)
Initializes a new instance of the Size struct.
Declaration
public Size(double widthAndHeight)
Parameters
Type |
Name |
Description |
System.Double |
widthAndHeight |
Width and Height values.
|