InsertNewShape

constructor(shapeType: ShapeType, offset: Offset)

Parameters

shapeType

The type of shape being drawn

offset

The starting point (usually where user began the drag)