Click or drag to resize

RectangleF  Conversion (Rectangle to RectangleF)

Implicit conversion from a Rectangle to a RectangleF

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static implicit operator RectangleF (
	Rectangle rectangle
)

Parameters

rectangle
Type: Eto.DrawingRectangle
Point to convert

Return Value

Type: RectangleF
A new instance of a RectangleF with the value of the specified rectangle
Remarks
Since no precision is lost, this can be implicit.
See Also