Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GmagickDraw::setstrokewidthGmagickDraw::settextencoding>
^GmagickDrawLast updated: Mon, 26 Oct 2026

GmagickDraw::settextdecoration

(PECL gmagick >= Unknown)

GmagickDraw::settextdecoration — Specifies a decoration

Description

public function GmagickDraw::settextdecoration(int $decoration): GmagickDraw

Specifies a decoration to be applied when annotating with text.

Parameters

int

Text decoration. One of NoDecoration, UnderlineDecoration, OverlineDecoration, or LineThroughDecoration

Return Values

The GmagickDraw object.


<GmagickDraw::setstrokewidthGmagickDraw::settextencoding>
^GmagickDrawLast updated: Mon, 26 Oct 2026