HaruPage::getTextRenderingMode()
(PECL haru >= 0.0.1)
Get the current text rendering mode
说明
HaruPage::getTextRenderingMode(void): int
Get the current text rendering mode.
参数
此函数没有参数。
返回值
Returns the current text rendering mode. The result value is one of the following:
HaruPage::FILL
HaruPage::STROKE
HaruPage::FILL_THEN_STROKE
HaruPage::INVISIBLE
HaruPage::FILL_CLIPPING
HaruPage::STROKE_CLIPPING
HaruPage::FILL_STROKE_CLIPPING
HaruPage::CLIPPING
错误/异常
发生错误时抛出HaruException异常。
参见
- HaruPage::setTextRenderingMode() Set text rendering mode for the page