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

    (PECL haru >= 0.0.1)

    Sets stroking color for the page

    说明

    HaruPage::setGrayStroke(float $value): bool

    Defines stroking color for the page.

    参数

    $value

    The value of gray level between 0 and 1.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。

    参见

    • HaruPage::getGrayStroke() Get the current stroking color