- Derived from
Helper object for placing rectangular labels on a screen viewport while avoiding overlaps.
Public / Constructors
Creates a new instance of ScreenLabelPlacement.
Public / Methods
Manually adds the given rectangle to the occupied screen region if it does not intersect with it.
Renders the screen labels while avoiding overlaps.
Each call to IScreenLabel.RenderScreenLabel is wrapped in calls to the Graphics.PushDepth and Graphics.PopDepth methods.
Checks if a screen label has been drawn during the last call to Render.
A screen label will not be drawn if it lies outside the screen bounds or if it is occluded and IScreenLabel.IsHiddenWhenOccluded returns