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

    (PECL haru >= 0.0.1)

    Get the current position for text printing

    说明

    HaruPage::getCurrentTextPos(void): array

    Get the current position for text printing.

    参数

    此函数没有参数。

    返回值

    Returns the current position for text printing as an array with 2 elements -"x" and "y".

    错误/异常

    发生错误时抛出HaruException异常。