PHP Manual
后退 |  | 前进

# pdf_setgray_stroke

(PHP 3 >= 3.0.6, PHP 4, PECL)

pdf_setgray_stroke -- Sets drawing color to gray value

## Description

bool pdf_setgray_stroke ( resource pdfdoc, float gray )

Set the current stroke color to a gray value between 0 and 1 inclusive. 如果成功则返回 `TRUE`，失败则返回 `FALSE`。

> 注: PDFlib V4.0: Deprecated, use pdf_setcolor() instead.

后退 | 起点 | 前进
pdf_setgray_fill | 上一级 | pdf_setgray