draw

Draw a DrawingObject on the image. See Drawing Objects section.

draw ( ImageInterface &$image, DrawingObjectInterface $drawingObject ): EditorInterface 
Parameters
image

Instance of Image.

drawingObject

Instance of DrawingObject.

Returns
An instance of Editor.