Class SizeExtensions
Drawing-related extension methods for
Inheritance
System.Object
SizeExtensions
Namespace: X10D.Drawing
Assembly: X10D.dll
Syntax
public static class SizeExtensions : object
Methods
| Improve this Doc View SourceToPoint(Size)
Converts the current
Declaration
public static Point ToPoint(this Size size)
Parameters
Type | Name | Description |
---|---|---|
Size | size | The size to convert. |
Returns
Type | Description |
---|---|
Point | The resulting |
ToPointF(Size)
Converts the current
Declaration
public static PointF ToPointF(this Size size)
Parameters
Type | Name | Description |
---|---|---|
Size | size | The size to convert. |
Returns
Type | Description |
---|---|
PointF | The resulting |
ToVector2(Size)
Converts the current
Declaration
public static Vector2 ToVector2(this Size size)
Parameters
Type | Name | Description |
---|---|---|
Size | size | The size to convert. |
Returns
Type | Description |
---|---|
Vector2 | The resulting |