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

    (PECL haru >= 0.0.1)

    Set rotation angle of the page

    说明

    HaruPage::setRotate(int $angle): bool

    Defines rotation angle of the page.

    参数

    $angle

    Must be a multiple of 90 degrees.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。