DEATHSHADOW'S
MADNESS
Madness and You, Perfect together!

  1. Top of Page
  2. Main Menu
  3. Page Content
  4. Page Extras
  5. Bottom of Page

Procedure tglKernedFont.writeStringCentered

Declaration


  procedure writeStringCentered(st:string);

Purpose

Writes a string centered off the cursor position, and updates the cursor to the end of that string.

Parameters

st : string

The string to be output

Code Example


  demoFont.writeStringCentered('This is a test');
  1. Top of Page
  2. Main Menu
  3. Page Content
  4. Page Extras
  5. Bottom of Page