Callback interface for rendering screen labels while avoiding overlaps.
interface
|
IScreenLabel
|
See also:
ScreenLabelPlacementRenders this screen label.
method
|
RenderScreenLabel
(Graphics graphics,
Box2I bounds,
bool occluded)
|
||
params
|
graphics
|
[not-null]
|
The graphics object. |
bounds
|
The screen bounds. | ||
occluded
|
true
if
bounds
are
at
least
partially
occluded
by
other
screen
labels,
false
if
bounds
are
not
occluded
at
all.
|
Remarks:
The PushDepth and PopDepth methods are called automatically for screen labels, according to the screen depth that has been provided to the call to Add.