RectangleFFromCenter Method |
Creates a new instance of a RectangleF with a specified center and size
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static RectangleF FromCenter(
PointF center,
SizeF size
)
Public Shared Function FromCenter (
center As PointF,
size As SizeF
) As RectangleF
static member FromCenter :
center : PointF *
size : SizeF -> RectangleF
Parameters
- center
- Type: Eto.DrawingPointF
Center of the rectangle - size
- Type: Eto.DrawingSizeF
Size of the rectangle
Return Value
Type:
RectangleFA new instance of a RectangleF with the specified center and size
See Also