SFML.Net
TextGetLocalBounds 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)

public FloatRect GetLocalBounds()
Public Function GetLocalBounds As FloatRect
public: FloatRect GetLocalBounds()
member GetLocalBounds : unit -> FloatRect
Return Value
Type: FloatRectLocal bounding rectangle of the entity
