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::setfontweightGmagickDraw::setstrokeopacity>
^GmagickDrawLast updated: Mon, 26 Oct 2026

GmagickDraw::setstrokecolor

(PECL gmagick >= Unknown)

GmagickDraw::setstrokecolor — Sets the color used for stroking object outlines

Description

public function GmagickDraw::setstrokecolor(mixed $color): GmagickDraw

Sets the color used for stroking object outlines.

Parameters

color

GmagickPixel or string representing the color for the stroke.

Return Values

The GmagickDraw object on success.


<GmagickDraw::setfontweightGmagickDraw::setstrokeopacity>
^GmagickDrawLast updated: Mon, 26 Oct 2026