• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • GmagickDraw::settextencoding()

    (PECL gmagick >= Unknown)

    Specifies the text code set

    说明

    publicGmagickDraw::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 on success