Text.opCall

Replace the current string.

  1. void opCall(string text)
    class Text
    final pure nothrow
    void
    opCall
    (
    string text
    )
  2. void opCall(Text t)

Examples

Font fnt = new Font("samples/font/arial.ttf", 12);
Text t = new Text(font);
t("My new string");

Meta