PHP Conference Nagoya 2025

GmagickDraw::settextencoding

(PECL gmagick >= Unknown)

GmagickDraw::settextencodingSpecifies the text code set

Опис

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.

Параметри

encoding

Character string specifying text encoding

Значення, що повертаються

The GmagickDraw object.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top