Search Results
Specifies the opacity of stroked object outlines
Jul 11, 2025 · The ImagickDraw::setStrokeOpacity () function is an inbuilt function in PHP which is used to specify the opacity of stroked object outlines. The value of opacity lies between 0 to 1.
(PECL imagick 2, PECL imagick 3) ImagickDraw::setStrokeOpacity — Specifies the opacity of stroked object outlines
Simple usage example of `ImagickDraw::setStrokeOpacity ()`. ImagickDraw::setStrokeOpacity is a function in PHP's Imagick extension that allows you to specify the opacity of stroked object outlines when working with images. This function is used in conjunction with the ImagickDraw class, which represents a drawing context used for drawing shapes, text, and other graphics on an image.
PHP tags Passing by Reference Predefined Variables Properties Reading Attributes with the Reflection API Resources Returning References Returning values Scope Resolution Operator (::) Serializable (interface) Serializable::serialize Serializable::unserialize Spotting References Static Keyword Storing into an array (e.g. with iterator_to_array ...
PHP Manual Function Reference Image Processing and Generation ImageMagick ImagickDraw
PHP Manual Function Reference Image Processing and Generation ImageMagick ImagickDraw ImageMagick Introduction Installing/Configuring Predefined Constants Examples Imagick ImagickDraw ImagickPixel ImagickPixelIterator ImagickKernel Imagick::writeImagesFile ImagickDraw::affine The ImagickDraw class (PECL imagick 2.0.0)
