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

    (PECL haru >= 0.0.1)

    Set the border style of the annotation

    说明

    HaruAnnotation::setBorderStyle(float $width,int $dash_on,int $dash_off): bool

    Defines the style of the border of the annotation. This function may be used with link annotations only.

    参数

    $width

    The width of the border line.

    $dash_on

    The dash style.

    $dash_off

    The dash style.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。