ScreenLabelPlacement
Description
- Derived from
Helper object for placing rectangular labels on a screen viewport while avoiding overlaps.
Public / Methods
Occupied
Manually adds the given rectangle to the occupied screen region if it does not intersect with it.
Render
Renders the screen labels while avoiding overlaps.
Each call to IScreenLabel.RenderScreenLabel is wrapped in calls to the Graphics.PushDepth and Graphics.PopDepth methods.