Explicit Operator
Explicit(Size to Point)
Declaration
public static explicit operator Point(Size size)
Parameters
Type | Name | Description |
---|---|---|
Size | size |
Returns
Type | Description |
---|---|
Point |
Explicit(Vector2 to Size)
Converts the specified System.Numerics.Vector2 to a Size.
Declaration
public static explicit operator Size(Vector2 vector)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.Vector2 | vector |
Returns
Type | Description |
---|---|
Size |