FromCenter Method
FromCenter(Point, Size)
Creates a new Rect from a centerpoint and size.
Declaration
public static Rect FromCenter(Point center, Size size)
Parameters
Type | Name | Description |
---|---|---|
Point | center | |
Size | size |
Returns
Type | Description |
---|---|
Rect |