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

    (PECL haru >= 0.0.1)

    Get the writing mode of the encoder

    说明

    HaruEncoder::getWritingMode(void): int

    Get the writing mode of the encoder.

    参数

    此函数没有参数。

    返回值

    Returns the writing mode of the encoder. The result value is on of the following:

    • HaruEncoder::WMODE_HORIZONTAL- horizontal writing mode.
    • HaruEncoder::WMODE_VERTICAL- vertical writing mode.

    错误/异常

    发生错误时抛出HaruException异常。