略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: GmagickDraw::settextencoding

2025-02-27

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.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/gmagickdraw.settextencoding.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3