The ImagickDraw::getStrokeWidth() function is an inbuilt function of PHP which is used to return the width of the stroke used to draw object outlines.
float ImagickDraw::getStrokeWidth( void )
Parameters: This function does not accept any parameters.
Return Value: This function returns stroke width on success.
Errors/Exceptions: It throws an ImagickException on error.
Below program illustrates the ImagickDraw::getStrokeWidth() 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.