FloatRect Explicit Conversion (FloatRect to IntRect)

SFML.Net

FloatRect  Conversion (FloatRect to IntRect)
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 IntRect (
	FloatRect r
)
Public Shared Narrowing Operator CType ( 
	r As FloatRect
) As IntRect
static explicit operator IntRect (
	FloatRect r
)
F# does not support the declaration of new casting operators.

Parameters

r
Type: SFML.GraphicsFloatRect
Rectangle being casted

Return Value

Type: IntRect
Casting result
See Also