PHP - Manual: ImagickDraw::setTextEncoding
2024-12-22
(PECL imagick 2, PECL imagick 3)
ImagickDraw::setTextEncoding — Specifies the text code set
$encoding
): bool本函数还未编写文档,仅有参数列表。
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
the encoding name
没有返回值。
官方地址:https://www.php.net/manual/en/imagickdraw.settextencoding.php