AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkText.Depth Property

The current depth of the text object, with 0 being the front of the screen and 10000 being the back.

Syntax
Pascal
property Depth: Integer;

Anything more than 10000 will result in the text being clipped from view. 

By default text is set to depth 9 and appears above all other sprites in the scene. Setting a greater depth will cause the text to be sorted into the transparent draw order list which may decrease performance. Use depth 0 for best performance.

Copyright (c) 2012. All rights reserved.