The ImagickDraw::getStrokeOpacity() function is an inbuilt function in PHP which is used to return the opacity of stroked object outlines.
float ImagickDraw::getStrokeOpacity( void )
Parameters: This function does not accepts any parameters.
Return Value: This function returns stroke opacity on success.
Errors/Exceptions: It throws an ImagickException on error.
Below program illustrates the ImagickDraw::getStrokeOpacity() function in PHP:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.