Shape.GetLocalBounds Method

SFML.Net

ShapeGetLocalBounds Method
Get the local bounding rectangle of the entity. The returned rectangle is in local coordinates, which means that it ignores the transformations (translation, rotation, scale, ...) that are applied to the entity. In other words, this function returns the bounds of the entity in the entity's coordinate system.

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public FloatRect GetLocalBounds()
Public Function GetLocalBounds As FloatRect
public:
FloatRect GetLocalBounds()
member GetLocalBounds : unit -> FloatRect 

Return Value

Type: FloatRect
Local bounding rectangle of the entity
See Also