ImagickDraw::setTextEncoding

(PECL imagick 2, PECL imagick 3)

ImagickDraw::setTextEncodingSpecifies the text code set

說(shuō)明

public ImagickDraw::setTextEncoding(string $encoding): bool
警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

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.

參數(shù)

encoding

the encoding name

返回值

沒(méi)有返回值。