array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'gmagickdraw.settextencoding.php', 1 => 'GmagickDraw::settextencoding', 2 => 'Specifies the text code set', ), 'up' => array ( 0 => 'class.gmagickdraw.php', 1 => 'GmagickDraw', ), 'prev' => array ( 0 => 'gmagickdraw.settextdecoration.php', 1 => 'GmagickDraw::settextdecoration', ), 'next' => array ( 0 => 'class.gmagickpixel.php', 1 => 'GmagickPixel', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagickdraw/settextencoding.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

GmagickDraw::settextencoding

(PECL gmagick >= Unknown)

GmagickDraw::settextencodingSpecifies the text code set

Beschreibung

public GmagickDraw::settextencoding(string $encoding): GmagickDraw

Specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "UTF-8" for representing Unicode as a sequence of bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.

Parameter-Liste

encoding

Character string specifying text encoding

Rückgabewerte

The GmagickDraw object.