The ImagickDraw::setStrokeWidth() function is an inbuilt function in PHP which is used to set the width of the stroke used to draw object outlines.
bool ImagickDraw::setStrokeWidth( $stroke_width )
Parameters: This function accepts a single parameter $stroke_width which is used to hold the value of stroke width. It is a float type value.
Return Value: This function does not returns any value.
Below programs illustrate the ImagickDraw::setStrokeWidth() 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.