DarkBASIC Professional Help File

DX11:LABEL

Labels are the main way of getting text on the screen in the DX11 engine. They are used to display text strings at a certain position on screen and can have their text and position changed in real time.
Assuming a grayscale font, colours can also be blended with the printed text.

    DX11 CREATE LABEL : Return Dword = DX11 CREATE LABEL([font], text, x, y)

    DX11 DELETE LABEL : DX11 DELETE LABEL

    DX11 LABEL EXISTS : Return Boolean = DX11 LABEL EXISTS(label)

    DX11 SET LABEL TEXT : DX11 SET LABEL TEXT label, text

    DX11 GET LABEL TEXT : Return String = DX11 GET LABEL TEXT(label)

    DX11 SET LABEL POSITION : DX11 SET LABEL POSITION label, x, y

    DX11 SET LABEL CAMERA MASK : DX11 SET LABEL CAMERA MASK label, mask