Implicit Operator
Implicit(Double to Size)
Initializes Size with equal width and hegiht.
Declaration
public static implicit operator Size(double widthAndHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Double | widthAndHeight |
Returns
Type | Description |
---|---|
Size |
Implicit(Int32 to Size)
Initializes Size with equal width and hegiht.
Declaration
public static implicit operator Size(int widthAndHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | widthAndHeight |
Returns
Type | Description |
---|---|
Size |