IntRect Explicit Conversion (IntRect to FloatRect)

SFML.Net

IntRect  Conversion (IntRect to FloatRect)
Explicit casting to another rectangle type

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public static explicit operator FloatRect (
	IntRect r
)
Public Shared Narrowing Operator CType ( 
	r As IntRect
) As FloatRect
static explicit operator FloatRect (
	IntRect r
)
F# does not support the declaration of new casting operators.

Parameters

r
Type: SFML.GraphicsIntRect
Rectangle being casted

Return Value

Type: FloatRect
Casting result
See Also